From c2c83e95991fff36e9e5f1402e35cb37c71d88df Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Mon, 27 Nov 2023 15:21:56 -0500 Subject: [PATCH] black, flake8 --- .../test_step_2/module_tests/test_module_dehashed.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bbot/test/test_step_2/module_tests/test_module_dehashed.py b/bbot/test/test_step_2/module_tests/test_module_dehashed.py index f36ddb0cae..0cc7c7babe 100644 --- a/bbot/test/test_step_2/module_tests/test_module_dehashed.py +++ b/bbot/test/test_step_2/module_tests/test_module_dehashed.py @@ -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 == "bob@blacklanternsecurity.com"]) - assert 1 == len([e for e in events if e.type == "EMAIL_ADDRESS" and e.data == "bob@bob.com" and e.scope_distance == 1 and "affiliate" in e.tags] and e.source.data == "bob@blacklanternsecurity.com") + assert 1 == len( + [ + e + for e in events + if e.type == "EMAIL_ADDRESS" + and e.data == "bob@bob.com" + and e.scope_distance == 1 + and "affiliate" in e.tags + ] + and e.source.data == "bob@blacklanternsecurity.com" + ) assert 1 == len([e for e in events if e.type == "EMAIL_ADDRESS" and e.data == "tim@blacklanternsecurity.com"]) assert 1 == len( [