This commit is contained in:
Andras Schmelczer 2026-07-03 18:28:56 +01:00
parent 909e241907
commit 1ee796b282
29 changed files with 250 additions and 126 deletions

View file

@ -9,7 +9,7 @@ import zoopla
# ---------------------------------------------------------------------------
# _run_sources Zoopla inline, others in threads, failures isolated
# _run_sources: Zoopla inline, others in threads, failures isolated
# ---------------------------------------------------------------------------
@ -85,13 +85,13 @@ def test_seed_and_save_detail_caches_round_trip(tmp_path):
def test_seed_detail_caches_tolerates_missing_files(tmp_path):
rightmove._detail_postcode_cache.clear()
# No file written yet seeding must not raise and must leave cache empty.
# No file written yet: seeding must not raise and must leave cache empty.
scraper._seed_detail_caches(["rightmove"], tmp_path)
assert rightmove._detail_postcode_cache == {}
# ---------------------------------------------------------------------------
# run_scrape full orchestration wiring (sources stubbed, no network)
# run_scrape: full orchestration wiring (sources stubbed, no network)
# ---------------------------------------------------------------------------