Fix two more depth assertions missed in earlier alignment

This commit is contained in:
Nick Sweeting 2026-06-13 19:12:30 -07:00
parent 824af25371
commit 8ba658b4dc
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -1091,7 +1091,7 @@ def test_cli_add_real_urls_with_options_writes_inspectable_outputs(initialized_a
processes = list(Process.objects.filter(process_type="hook").values_list("process_type", "status", "exit_code", "pwd", "cmd"))
assert real_flow_crawl is not None
assert real_flow_crawl[0] == 1
assert real_flow_crawl[0] == 0
assert real_flow_crawl[1] == "real-flow,challenge"
real_flow_config = real_flow_crawl[2] or {}
assert real_flow_config["CRAWL_MAX_URLS"] == 2

View File

@ -369,9 +369,9 @@ def test_recursive_crawl_depth_two_writes_real_outputs_and_process_records(tmp_p
)
assert crawl is not None
assert crawl[1] == 3
assert crawl[1] == 2
assert root_snapshot is not None
assert root_snapshot[2] == 1
assert root_snapshot[2] == 0
assert root_snapshot[3] is None
assert depth_counts.get(0, 0) >= 1
assert depth_counts.get(1, 0) >= len(recursive_test_site["child_urls"])