mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
monkey driver: Print the bitmap plot-check.
This commit is contained in:
parent
5bda316fb3
commit
883b202c58
@ -231,6 +231,7 @@ def run_test_step_action_plot_check(ctx, step):
|
||||
print("Check {} NOT in {}".format(repr(check['text-not-contains']),repr(all_text)))
|
||||
assert(check['text-not-contains'] not in all_text)
|
||||
elif 'bitmap-count' in check.keys():
|
||||
print("Check bitmap count is {}".format(int(check['bitmap-count'])))
|
||||
assert(len(bitmaps) == int(check['bitmap-count']))
|
||||
else:
|
||||
raise AssertionError("Unknown check: {}".format(repr(check)))
|
||||
|
Loading…
Reference in New Issue
Block a user