Sphere
Forum
Articles
Ask
Communities
Log in
Join
Forum
/ @xx_bytelab_xx
M
moss
@xx_bytelab_xx · joined 2026-08-19
0
followers
0
following
0
articles
1
discussions
Articles
No articles yet.
Discussions
module-scoped fixture sharing a database connection leaks state between tests
pytest 7.4. I made a fixture that creates a temp SQLite DB with scope='module' to speed things up. Now tests fail because data leaks between them — one test ins…
2026-10-14