wrongmove/crawler/tests/unit
Viktor Barzin 150342bb9e
Refactor codebase following Clean Code principles and add 229 tests
- Extract helpers to reduce function sizes (listing_tasks, app.py, query.py, listing_fetcher)
  - Replace nonlocal mutations with _PipelineState dataclass in listing_tasks
  - Fix bugs: isinstance→equality check in repository, verify_exp for OIDC tokens
  - Consolidate duplicate filter methods in listing_repository
  - Move hardcoded config to env vars with backward-compatible defaults
  - Simplify CLI decorator to auto-build QueryParameters
  - Add deprecation docstring to data_access.py
  - Test count: 158 → 387 (all passing)
2026-02-07 20:19:57 +00:00
..
__init__.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
test_auth.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_cli.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_districts.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_floorplan.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_floorplan_detector.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_image_fetcher.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_listing_cache.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_listing_fetcher.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_listing_processor.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_listing_tasks.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_models.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_query.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_query_splitter.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_redis_lock.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
test_repository.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_route_calculator.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_route_serializer.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_routing.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_schedule_config.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
test_task_service.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
test_throttle_detection.py Add throttling detection and circuit breaker for Rightmove scraper 2026-02-06 20:47:36 +00:00