Skip to content

Commit

Permalink
Update runner
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-baillargeon committed Dec 11, 2024
1 parent f56c354 commit 53f5266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anta/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def get_coroutines(selected_tests: defaultdict[AntaDevice, set[AntaTestDefinitio
for test in test_definitions:
try:
test_instance = test.test(device=device, inputs=test.inputs)
if manager:
if manager is not None:
manager.add(test_instance.result)
coros.append(test_instance.test())
except Exception as e: # noqa: PERF203, BLE001
Expand Down

0 comments on commit 53f5266

Please sign in to comment.