added browser_tests SUCCESS if dff_bbox is not None but basefilename is test_fail

This commit is contained in:
Stephen Gaito 2020-06-20 10:13:26 +01:00
parent f1abed5a1f
commit 8a04d6a192
1 changed files with 2 additions and 0 deletions

View File

@ -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])