Skip to content

Commit 60a07b2

Browse files
authored
Update test_environment.py
1 parent 2b5b197 commit 60a07b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
extra_settings="""
2323
EMAIL_BACKEND = "django.core.mail.backends.dummy.EmailBackend"
2424
25+
import unittest.mock
2526
unittest.mock.patch("pytest_django.lazy_django.django_settings_is_configured", lambda: False).start()
2627
""",
2728
)

0 commit comments

Comments
 (0)