mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
test tweak to match type defined in admin.py
This commit is contained in:
parent
a2a7382ee9
commit
cc0acdba94
1 changed files with 2 additions and 2 deletions
|
@ -934,13 +934,13 @@ class MyUserAdminTest(TestCase):
|
|||
request.user = create_user()
|
||||
|
||||
list_display = self.admin.get_list_display(request)
|
||||
expected_list_display = (
|
||||
expected_list_display = [
|
||||
"email",
|
||||
"first_name",
|
||||
"last_name",
|
||||
"group",
|
||||
"status",
|
||||
)
|
||||
]
|
||||
|
||||
self.assertEqual(list_display, expected_list_display)
|
||||
self.assertNotIn("username", list_display)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue