wrongmove/tests
Viktor Barzin 9fdf7fd356 wrongmove: stabilise setup_periodic_tasks tests after market-aggregator add
CI test-unit failed on pipeline #49 because the three TestSetupPeriodicTasks
cases asserted exact call counts on `sender.add_periodic_task` and the
new unconditional `daily-market-aggregator` registration bumped each by
one. Fix:

- `tasks/listing_tasks.py`: lifted the market-aggregator registration
  out of the SchedulesConfig try-block — it's now independent of the
  user's SCRAPE_SCHEDULES (a malformed scrape config no longer takes
  the aggregator down with it).
- `tests/unit/test_listing_tasks.py`: updated the four cases to account
  for the +1 unconditional aggregator call. `test_handles_config_error_
  gracefully` now asserts the aggregator still registers when
  SchedulesConfig.from_env raises (regression coverage for the
  independence guarantee).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 12:07:50 +00:00
..
e2e Fix e2e test for adaptive first batch size 2026-02-22 13:48:36 +00:00
integration fix: mock _get_disliked_ids and bypass rate limiter in existing tests 2026-02-21 14:22:46 +00:00
regression Add comprehensive test suite: 219 new tests across backend and frontend 2026-02-10 21:59:45 +00:00
unit wrongmove: stabilise setup_periodic_tasks tests after market-aggregator add 2026-05-16 12:07:50 +00:00
__init__.py Flatten repo structure: move crawler/ to root, remove vqa/ and immoweb/ 2026-02-07 23:01:20 +00:00
conftest.py Fix async_client fixture to patch engine with in-memory DB 2026-02-10 22:49:34 +00:00
test_listing_geojson.py Add Server-Timing header to streaming endpoint 2026-02-22 13:27:11 +00:00