From cab571712628519476a6c75dfd5654d2a9dfd29c Mon Sep 17 00:00:00 2001 From: NotoriousRebel <36310667+NotoriousRebel@users.noreply.github.com> Date: Sat, 15 Aug 2026 21:38:59 -0400 Subject: [PATCH] test: assert complete URLScan pagination output --- tests/discovery/test_urlscan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/discovery/test_urlscan.py b/tests/discovery/test_urlscan.py index 8630b98d..d2fd3700 100644 --- a/tests/discovery/test_urlscan.py +++ b/tests/discovery/test_urlscan.py @@ -434,8 +434,7 @@ async def test_pagination_continues_beyond_the_removed_local_page_ceiling(monkey await search.process() assert calls == 1002 - assert len(await search.get_hostnames()) == 1001 - assert 'page-1001.example.com' in await search.get_hostnames() + assert await search.get_hostnames() == {f'page-{page}.example.com' for page in range(1, 1002)} assert search.execution_status == 'completed' assert search.stop_reason is None