Skip to content

Commit

Permalink
fix race condition in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 1, 2024
1 parent 87fed35 commit d953f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bbot/test/test_step_1/test_manager_scope_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d953f70

Please sign in to comment.