fix(repo): two backend tests stop leaking rows into later test files (#869) #870
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/869-test-leaks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #869.
test_recap_email.py:_cleanupnow deletes thesmtp_configrow instead of setting it toNone. The leftover row made seven oftest_admin's send-test-email tests fail whenevertest_recap_emailran first.test_backup_offsite.py: its autouse fixture now deletes theBackupLogrows that its task-style tests commit through the real session.Proof: I ran
test_recap_email.pythentest_admin.py, in that order.test_backup_offsiteandtest_backup_tasks.ruff is clean, and the
changelog.d/fragment is included.🤖 Generated with Claude Code