mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
fix test
This commit is contained in:
commit
128e7982fe
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user