Files
xiaoxia-saas/tests
xiaoxia 71ca3a0d6e fix(test): add autouse fixture to reset worker_app.db module between tests
Add _reset_worker_app_db pytest fixture with autouse=True to prevent
mock pollution from leaking between tests. This fixes the flaky
test_batch_download_session_closed test that would fail when running
the full test suite due to worker_app.db being replaced with a
MagicMock from a previous test.
2026-08-15 09:52:19 +08:00
..