fa725f1a0eb8b80402a74657aa72f1e8646f7e07
Production code shouldn't branch on `"pytest" in sys.modules` — it's fragile and couples db.py to test tooling. Instead, conftest.py now builds its own dedicated NullPool engine directly from settings, used only for the drop_all/create_all reset and the get_db override. The production engine in app/db.py is untouched and never exercised during tests, so this fully preserves the event-loop fix while keeping prod code test-agnostic.
Description
talking to spirits
Languages
TypeScript
46.3%
Python
32.6%
CSS
13%
C
7.3%
JavaScript
0.3%
Other
0.4%