1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
This commit is contained in:
Lu Wang 2014-11-18 13:25:03 +08:00
commit 128e7982fe

View File

@ -27,7 +27,5 @@ class test_local_browser(BrowserTests, unittest.TestCase):
super(test_local_browser, cls).tearDownClass() super(test_local_browser, cls).tearDownClass()
def generate_image(self, html_file, png_file): def generate_image(self, html_file, png_file):
assert not self.GENERATING_MODE
self.browser.get('file://' + html_file) self.browser.get('file://' + html_file)
self.browser.save_screenshot(png_file) self.browser.save_screenshot(png_file)