mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17: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()
|
request.user = create_user()
|
||||||
|
|
||||||
list_display = self.admin.get_list_display(request)
|
list_display = self.admin.get_list_display(request)
|
||||||
expected_list_display = (
|
expected_list_display = [
|
||||||
"email",
|
"email",
|
||||||
"first_name",
|
"first_name",
|
||||||
"last_name",
|
"last_name",
|
||||||
"group",
|
"group",
|
||||||
"status",
|
"status",
|
||||||
)
|
]
|
||||||
|
|
||||||
self.assertEqual(list_display, expected_list_display)
|
self.assertEqual(list_display, expected_list_display)
|
||||||
self.assertNotIn("username", list_display)
|
self.assertNotIn("username", list_display)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue