mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-29 20:43:10 +02:00
Review feedback: unit tests, accessibility, etc.
This commit is contained in:
parent
921790072d
commit
2f463b810b
9 changed files with 185 additions and 84 deletions
|
@ -14,7 +14,7 @@ class MockUserLogin:
|
|||
args = {
|
||||
UserModel.USERNAME_FIELD: username,
|
||||
}
|
||||
user = UserModel.objects.get_or_create(**args)
|
||||
user, _ = UserModel.objects.get_or_create(**args)
|
||||
user.is_staff = True
|
||||
user.is_superuser = True
|
||||
user.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue