We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 288754d commit d4b3b3dCopy full SHA for d4b3b3d
pytest_django/plugin.py
@@ -567,7 +567,7 @@ def _dj_autoclear_mailbox(_django_settings_is_configured):
567
568
569
@pytest.fixture(scope="function")
570
-def mailoutbox(monkeypatch, django_mail_patch_dns, _dj_autoclear_mailbox,
+def mailoutbox(django_mail_patch_dns, _dj_autoclear_mailbox,
571
_django_settings_is_configured):
572
if _django_settings_is_configured:
573
from django.core import mail
@@ -583,7 +583,7 @@ def django_mail_patch_dns(monkeypatch, django_mail_dnsname):
583
584
585
586
-def django_mail_dnsname(monkeypatch):
+def django_mail_dnsname():
587
return "fake-tests.example.com"
588
589
0 commit comments