From 9cb7d0ab4844cbc79e6d2937306fdb0501af4fef Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 22 Mar 2020 13:09:45 +0000 Subject: make conditionals optional in integration test sleep-ms action --- test/monkey_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/monkey_driver.py b/test/monkey_driver.py index a0f4f368f..7a2871dbf 100755 --- a/test/monkey_driver.py +++ b/test/monkey_driver.py @@ -333,7 +333,7 @@ def run_test_step_action_reload(ctx, step): def run_test_step_action_sleep_ms(ctx, step): print(get_indent(ctx) + "Action: " + step["action"]) - conds = step['conditions'] + conds = step.get('conditions', {}) sleep_time = step['time'] sleep = 0 have_repeat = False -- cgit v1.2.3