We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db54a13 commit 8741b63Copy full SHA for 8741b63
pytest_django/fixtures.py
@@ -286,7 +286,7 @@ def __delattr__(self, attr):
286
287
288
@pytest.fixture()
289
-def settings(request, monkeypatch):
+def settings(monkeypatch):
290
"""A Django settings object which restores changes after the testrun"""
291
skip_if_no_django()
292
pytest_django/plugin.py
@@ -300,7 +300,7 @@ def teardown():
300
301
302
@pytest.fixture(autouse=True, scope='function')
303
-def _django_clear_outbox(request):
+def _django_clear_outbox():
304
"""Clear the django outbox, internal to pytest-django."""
305
if django_settings_is_configured():
306
from django.core import mail
0 commit comments