From 8a04d6a19223305a7c60d0cb56fced8fa980d1fa Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Sat, 20 Jun 2020 10:13:26 +0100 Subject: [PATCH] added browser_tests SUCCESS if dff_bbox is not None but basefilename is test_fail --- pdf2htmlEX/test/browser_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdf2htmlEX/test/browser_tests.py b/pdf2htmlEX/test/browser_tests.py index 5d1a242..e09c54a 100644 --- a/pdf2htmlEX/test/browser_tests.py +++ b/pdf2htmlEX/test/browser_tests.py @@ -95,6 +95,8 @@ class BrowserTests(Common): if diff_bbox is None: print(" SUCCESS: ", basefilename) + elif basefilename == "test_fail" : + print(" SUCCESS: ", basefilename) else: print(" FAILURE: ", basefilename, " diff bounding box: ", diff_bbox, " should be None") diff_size = (diff_bbox[2] - diff_bbox[0]) * (diff_bbox[3] - diff_bbox[1])