Review feedback: unit tests, accessibility, etc.

This commit is contained in:
Neil Martinsen-Burrell 2022-10-26 13:49:09 -05:00
parent 921790072d
commit 2f463b810b
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
9 changed files with 185 additions and 84 deletions

View file

@ -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()