From d953f705c590be0441f7133a482400d0886af59c Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 1 Oct 2024 09:51:26 -0400 Subject: [PATCH] fix race condition in tests --- bbot/test/test_step_1/test_manager_scope_accuracy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbot/test/test_step_1/test_manager_scope_accuracy.py b/bbot/test/test_step_1/test_manager_scope_accuracy.py index f860f1746..1d1f8d3ca 100644 --- a/bbot/test/test_step_1/test_manager_scope_accuracy.py +++ b/bbot/test/test_step_1/test_manager_scope_accuracy.py @@ -114,8 +114,9 @@ async def do_scan(*args, _config={}, _dns_mock={}, scan_callback=None, **kwargs) await scan.helpers.dns._mock_dns(_dns_mock) if scan_callback is not None: scan_callback(scan) + output_events = [e async for e in scan.async_start()] return ( - [e async for e in scan.async_start()], + output_events, dummy_module.events, dummy_module_nodupes.events, dummy_graph_output_module.events,