From e14a6598be6c8c3ab2071422abd3cf92ec8801fb Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 15 Jun 2019 21:24:35 +0100 Subject: [PATCH] monkey_driver.py: Allow for no wrapper to be passed Signed-off-by: Daniel Silverstone --- test/monkey_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/monkey_driver.py b/test/monkey_driver.py index ba26ac091..57ad5e4fe 100755 --- a/test/monkey_driver.py +++ b/test/monkey_driver.py @@ -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', []):