mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Remove unused fixtures
This commit is contained in:
parent
49a63f0d9a
commit
aef021a8d0
|
@ -65,7 +65,8 @@ class TestUserAdmin:
|
|||
pass
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_allauth_login(self, rf, settings, force_allauth): # pylint: disable=unused-argument
|
||||
@pytest.mark.usefixtures("force_allauth")
|
||||
def test_allauth_login(self, rf):
|
||||
request = rf.get("/fake-url")
|
||||
request.user = AnonymousUser()
|
||||
response = admin.site.login(request)
|
||||
|
|
Loading…
Reference in New Issue
Block a user