Skip to content

Commit

Permalink
more work on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 21, 2024
1 parent 126d317 commit c58cf71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bbot/test/test_step_2/module_tests/test_module_stdout.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ def check(self, module_test, events):
event = json.loads(line)
if i == 0:
assert event["type"] == "SCAN"
elif i == 2:
elif i == 1:
assert event["type"] == "DNS_NAME" and event["data"] == "blacklanternsecurity.com"
if i == 2:
assert event["type"] == "SCAN"


class TestStdoutJSONFields(TestStdout):
Expand Down

0 comments on commit c58cf71

Please sign in to comment.