gendesign/backend/tests/api
lekss361 7e95c9776f fixup(cadastre): use importlib.util.find_spec instead of import (#168 PR3)
Root cause Blocker #2: `import app.workers.tasks.scrape_cadastre` at module
top-level REBOUND `app` from FastAPI instance (line 14) to the Python package.
All subsequent `app.dependency_overrides[get_db] = ...` failed with
AttributeError because `app` was now the namespace module.

Fix: probe module availability with importlib.util.find_spec — does not
import or rebind names. FastAPI `app` instance stays intact.

All 28 cadastre tests pass locally.
2026-05-15 13:24:24 +03:00
..
v1 fixup(cadastre): use importlib.util.find_spec instead of import (#168 PR3) 2026-05-15 13:24:24 +03:00
__init__.py feat(cadastre): bulk_harvest_quarter Celery task + grid-walker + saga state (#168 PR3/5) 2026-05-15 13:03:35 +03:00