<filename>project/settings/test.py
from unittest.mock import patch

VALIDATE_EMAILS_WITH_MAILGUN = False

<filename>project/settings/test.py
from unittest.mock import patch

VALIDATE_EMAILS_WITH_MAILGUN = False
