diff options
| author | Thibaut Decombe <thibaut.decombe@gmail.com> | 2025-07-13 20:01:02 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-10-14 08:13:52 -0400 |
| commit | d0c8f89c942d1379724bdd37127076d13452f71d (patch) | |
| tree | 454cd07ad6a311ad720753ba955a080fcd1d423b /tests/auth_tests/test_forms.py | |
| parent | bc03f1064e10fa247a46d4e8a98ba9b26aa4790d (diff) | |
Refs #31223 -- Added __class_getitem__() to SetPasswordMixin.
Diffstat (limited to 'tests/auth_tests/test_forms.py')
| -rw-r--r-- | tests/auth_tests/test_forms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auth_tests/test_forms.py b/tests/auth_tests/test_forms.py index be55c4369b..73065adddf 100644 --- a/tests/auth_tests/test_forms.py +++ b/tests/auth_tests/test_forms.py @@ -350,6 +350,9 @@ class BaseUserCreationFormTest(TestDataMixin, TestCase): form.fields[field_name].widget.attrs["autocomplete"], autocomplete ) + def test_user_creation_form_class_getitem(self): + self.assertIs(BaseUserCreationForm["MyCustomUser"], BaseUserCreationForm) + class CustomUserCreationFormTest(TestDataMixin, TestCase): |
