Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't crash if mail.outbox doesn't exist #1033

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

symwell
Copy link

@symwell symwell commented Oct 7, 2022

Fixes #993

Copy link
Contributor

@samamorgan samamorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good, needs a test though!

@symwell
Copy link
Author

symwell commented Oct 21, 2022

It's unlikely I'll write a test.

@mskoenz
Copy link

mskoenz commented Sep 15, 2023

This fix would be helpful, I currently use the workaround from @wouter-vdb

# see: https://github.com/pytest-dev/pytest-django/issues/993
@pytest.fixture(scope="function", autouse=True)
def _dj_autoclear_mailbox() -> None:
    pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants