Skip to content

Commit 948fd53

Browse files
committed
remove unused fixture args
1 parent 69392f4 commit 948fd53

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
@@ -543,7 +543,7 @@ def _dj_autoclear_mailbox(_django_settings_is_configured):
543543

544544

545545
@pytest.fixture(scope="function")
546-
def mailoutbox(monkeypatch, django_mail_patch_dns, _dj_autoclear_mailbox,
546+
def mailoutbox(django_mail_patch_dns, _dj_autoclear_mailbox,
547547
_django_settings_is_configured):
548548
if _django_settings_is_configured:
549549
from django.core import mail
@@ -559,7 +559,7 @@ def django_mail_patch_dns(monkeypatch, django_mail_dnsname):
559559

560560

561561
@pytest.fixture(scope="function")
562-
def django_mail_dnsname(monkeypatch):
562+
def django_mail_dnsname():
563563
return "fake-tests.example.com"
564564

565565

0 commit comments

Comments
 (0)