diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2018-11-04 13:10:27 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2018-11-04 13:10:27 +0000 |
commit | e12e50efaaa2944a7291c4b021aa2891ef80af17 (patch) | |
tree | d9540436b81f43b4d41d52a87ecd7991dbf5afe4 /test | |
parent | a2ffbdfd1c7948d341a316d153896cfc772955ce (diff) | |
download | netsurf-e12e50efaaa2944a7291c4b021aa2891ef80af17.tar.gz netsurf-e12e50efaaa2944a7291c4b021aa2891ef80af17.tar.bz2 |
Test: Monkey driver: Timers can live outside launches.
Diffstat (limited to 'test')
-rwxr-xr-x | test/monkey-driver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/monkey-driver.py b/test/monkey-driver.py index 610c3fca0..dc8e19061 100755 --- a/test/monkey-driver.py +++ b/test/monkey-driver.py @@ -60,7 +60,6 @@ def run_test_step_action_launch(ctx, step): ctx['browser'] = Browser(monkey_cmd=[ctx["monkey"]], quiet=True) assert_browser(ctx) ctx['windows'] = dict() - ctx['timers'] = dict() def run_test_step_action_window_new(ctx, step): print(get_indent(ctx) + "Action: " + step["action"]) @@ -182,7 +181,6 @@ def run_test_step_action_quit(ctx, step): assert_browser(ctx) browser = ctx.pop('browser') windows = ctx.pop('windows') - timers = ctx.pop('timers') assert(browser.quit_and_wait()) step_handlers = { @@ -205,6 +203,7 @@ def run_test_step(ctx, step): def walk_test_plan(ctx, plan): ctx["depth"] = 0 + ctx["timers"] = dict() for step in plan["steps"]: run_test_step(ctx, step) |