Skip to content

Commit

Permalink
black, flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Nov 27, 2023
1 parent 54a26ed commit c2c83e9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bbot/test/test_step_2/module_tests/test_module_dehashed.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@ def check(self, module_test, events):
module_test.log.critical(e)
assert len(events) == 8
assert 1 == len([e for e in events if e.type == "EMAIL_ADDRESS" and e.data == "[email protected]"])
assert 1 == len([e for e in events if e.type == "EMAIL_ADDRESS" and e.data == "[email protected]" and e.scope_distance == 1 and "affiliate" in e.tags] and e.source.data == "[email protected]")
assert 1 == len(
[
e
for e in events
if e.type == "EMAIL_ADDRESS"
and e.data == "[email protected]"
and e.scope_distance == 1
and "affiliate" in e.tags
]
and e.source.data == "[email protected]"
)
assert 1 == len([e for e in events if e.type == "EMAIL_ADDRESS" and e.data == "[email protected]"])
assert 1 == len(
[
Expand Down

0 comments on commit c2c83e9

Please sign in to comment.