mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
monkey_driver.py: Allow for no wrapper to be passed
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
659c9161ee
commit
e14a6598be
@ -205,7 +205,7 @@ def run_test_step_action_launch(ctx, step):
|
||||
print(get_indent(ctx) + "Action: " + step["action"])
|
||||
assert(ctx.get('browser') is None)
|
||||
assert(ctx.get('windows') is None)
|
||||
ctx['browser'] = DriverBrowser(monkey_cmd=[ctx["monkey"]], quiet=True, wrapper=ctx["wrapper"])
|
||||
ctx['browser'] = DriverBrowser(monkey_cmd=[ctx["monkey"]], quiet=True, wrapper=ctx.get("wrapper"))
|
||||
assert_browser(ctx)
|
||||
ctx['windows'] = dict()
|
||||
for arg in step.get('args', []):
|
||||
|
Loading…
Reference in New Issue
Block a user