make conditionals optional in integration test sleep-ms action

This commit is contained in:
Vincent Sanders 2020-03-22 13:09:45 +00:00
parent 19dded8cfa
commit 9cb7d0ab48
1 changed files with 1 additions and 1 deletions

View File

@ -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