Skip to content

Commit 79349dd

Browse files
committed
Fix excavate redirect test to use e.url instead of e.data
URL events are now DictHostEvent so e.data is a dict, not a string.
1 parent abb1719 commit 79349dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bbot/test/test_step_2/module_tests/test_module_excavate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ async def setup_before_prep(self, module_test):
15931593

15941594
def check(self, module_test, events):
15951595
# The redirect URL itself should be emitted as URL_UNVERIFIED (that's correct behavior)
1596-
assert any(e.type == "URL_UNVERIFIED" and "login.microsoftonline.com" in e.data for e in events), (
1596+
assert any(e.type == "URL_UNVERIFIED" and "login.microsoftonline.com" in e.url for e in events), (
15971597
"Redirect URL_UNVERIFIED should still be emitted"
15981598
)
15991599

0 commit comments

Comments
 (0)