Skip to content

Commit

Permalink
test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed May 11, 2024
1 parent 527ec4e commit eb0c2af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbot/test/test_step_1/test_manager_deduplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ async def do_scan(*args, _config={}, _dns_mock={}, scan_callback=None, **kwargs)
assert 1 == len([e for e in default_events if e.type == "DNS_NAME" and e.data == "per_hostport_only.test.notreal" and str(e.module) == "per_hostport_only"])
assert 1 == len([e for e in default_events if e.type == "DNS_NAME" and e.data == "test.notreal" and str(e.module) == "TARGET" and "SCAN:" in e.source.data])

for e in all_events:
log.critical(e)
assert len(all_events) == 27
assert 1 == len([e for e in all_events if e.type == "DNS_NAME" and e.data == "accept_dupes.test.notreal" and str(e.module) == "accept_dupes"])
assert 1 == len([e for e in all_events if e.type == "DNS_NAME" and e.data == "default_module.test.notreal" and str(e.module) == "default_module"])
Expand Down

0 comments on commit eb0c2af

Please sign in to comment.