Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
test: User Admin test case
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizaMaluf committed Nov 1, 2023
1 parent d39d725 commit 558624f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/users/tests_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ def test_fieldsets(self) -> None:

def test_add_fieldsets(self) -> None:
expected_add_fieldsets = (
None,
{
"classes": ("wide",),
"fields": ("username", "email", "passord1", "password2"),
},
(
None,
{
"classes": ("wide",),
"fields": ("username", "email", "password1", "password2"),
},
),
)
self.assertEqual(UserAdmin.add_fieldsets, expected_add_fieldsets)

0 comments on commit 558624f

Please sign in to comment.