Skip to content

Commit d4b3b3d

Browse files
committed
remove unused fixture args
1 parent 288754d commit d4b3b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_django/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def _dj_autoclear_mailbox(_django_settings_is_configured):
567567

568568

569569
@pytest.fixture(scope="function")
570-
def mailoutbox(monkeypatch, django_mail_patch_dns, _dj_autoclear_mailbox,
570+
def mailoutbox(django_mail_patch_dns, _dj_autoclear_mailbox,
571571
_django_settings_is_configured):
572572
if _django_settings_is_configured:
573573
from django.core import mail
@@ -583,7 +583,7 @@ def django_mail_patch_dns(monkeypatch, django_mail_dnsname):
583583

584584

585585
@pytest.fixture(scope="function")
586-
def django_mail_dnsname(monkeypatch):
586+
def django_mail_dnsname():
587587
return "fake-tests.example.com"
588588

589589

0 commit comments

Comments
 (0)