Skip to content

Commit 33282a8

Browse files
committed
remove unused fixture args
1 parent 72d4f5b commit 33282a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_django/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def _dj_autoclear_mailbox(_django_settings_is_configured):
568568

569569

570570
@pytest.fixture(scope="function")
571-
def mailoutbox(monkeypatch, django_mail_patch_dns, _dj_autoclear_mailbox,
571+
def mailoutbox(django_mail_patch_dns, _dj_autoclear_mailbox,
572572
_django_settings_is_configured):
573573
if _django_settings_is_configured:
574574
from django.core import mail
@@ -584,7 +584,7 @@ def django_mail_patch_dns(monkeypatch, django_mail_dnsname):
584584

585585

586586
@pytest.fixture(scope="function")
587-
def django_mail_dnsname(monkeypatch):
587+
def django_mail_dnsname():
588588
return "fake-tests.example.com"
589589

590590

0 commit comments

Comments
 (0)