mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Oops
This commit is contained in:
10
conftest.py
10
conftest.py
@@ -23,12 +23,12 @@ def pytest_configure():
|
||||
django.setup()
|
||||
|
||||
|
||||
@pytest.fixture # Overrides the one from pytest-django
|
||||
@pytest.fixture # Overrides the one from pytest-django
|
||||
def admin_user(admin_user):
|
||||
admin_user.username="EventTest"
|
||||
admin_user.first_name="Event"
|
||||
admin_user.last_name="Test"
|
||||
admin_user.initials="ETU"
|
||||
admin_user.username = "EventTest"
|
||||
admin_user.first_name = "Event"
|
||||
admin_user.last_name = "Test"
|
||||
admin_user.initials = "ETU"
|
||||
admin_user.save()
|
||||
return admin_user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user