Skip to content

test: Isolate file uploads and email sending in tests#18

Merged
andreas-vester merged 1 commit intomainfrom
chore_test_attachments
Jan 23, 2026
Merged

test: Isolate file uploads and email sending in tests#18
andreas-vester merged 1 commit intomainfrom
chore_test_attachments

Conversation

@andreas-vester
Copy link
Copy Markdown
Owner

  • Add session-scoped temp directory fixture for test attachments
  • Fix email mock patch location to prevent MailHog sending
  • Remove manual cleanup code from individual tests
  • data/uploads stays clean, no emails sent to MailHog, 37% faster

- Add session-scoped temp directory fixture for test attachments
- Fix email mock patch location to prevent MailHog sending
- Remove manual cleanup code from individual tests
- data/uploads stays clean, no emails sent to MailHog, 37% faster
@andreas-vester andreas-vester self-assigned this Jan 23, 2026
@andreas-vester andreas-vester merged commit 19a6d00 into main Jan 23, 2026
3 checks passed
@andreas-vester andreas-vester deleted the chore_test_attachments branch January 23, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant