def test_multiple_stylesheet_adding_without_head_tag(self):
        css_files = ['fixtures/example.css', 'fixtures/example2.css']
        r = pdfkit.PDFKit('<html><body>Hai!</body></html>', 'string',
                          options={'quiet': None}, css=css_files)

        css=[]
        for css_file in css_files:
            with open(css_file) as f:
                css.append(f.read())

        r._prepend_css(css_files)
        self.assertIn('<style>%s</style><html>' % "\n".join(css), r.source.to_s())
dataset/ETHPy150Open JazzCore/python-pdfkit/tests/pdfkit-tests.py/TestPDFKitGeneration.test_multiple_stylesheet_adding_without_head_tag/original