Skip to content

Commit

Permalink
test troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 18, 2024
1 parent 9fedf1d commit 9366687
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bbot/test/test_step_1/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,9 @@ async def test_mobile_app():
scan = Scanner("MOBILE_APP:https://play.google.com/store/apps/details?id=com.evilcorp.app")
events = [e async for e in scan.async_start()]
assert len(events) == 3
assert events[1].type == "MOBILE_APP"
assert sorted(events[1].data.items()) == [
mobile_app_event = [e for e in events if e.type == "MOBILE_APP"][0]
assert mobile_app_event.type == "MOBILE_APP"
assert sorted(mobile_app_event.data.items()) == [
("id", "com.evilcorp.app"),
("url", "https://play.google.com/store/apps/details?id=com.evilcorp.app"),
]
Expand Down

0 comments on commit 9366687

Please sign in to comment.