diff --git a/archivebox/tests/test_cli_add.py b/archivebox/tests/test_cli_add.py index 98c03809..9b998ea7 100644 --- a/archivebox/tests/test_cli_add.py +++ b/archivebox/tests/test_cli_add.py @@ -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 diff --git a/archivebox/tests/test_recursive_crawl.py b/archivebox/tests/test_recursive_crawl.py index 850ed6c4..f242c06c 100644 --- a/archivebox/tests/test_recursive_crawl.py +++ b/archivebox/tests/test_recursive_crawl.py @@ -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"])