summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_forms.py
diff options
context:
space:
mode:
authorTimo Ludwig <ti.ludwig@web.de>2020-12-02 11:23:52 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-03 09:32:08 +0100
commitd8dfff2ab0edf7a1ca5255eccf45c447b2f9d57e (patch)
treec2c495e141f168692e81f8deac03e8e30384e311 /tests/auth_tests/test_forms.py
parentd746f28949c009251a8741ba03d156964050717f (diff)
Fixed #32235 -- Made ReadOnlyPasswordHashField disabled by default.
Diffstat (limited to 'tests/auth_tests/test_forms.py')
-rw-r--r--tests/auth_tests/test_forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auth_tests/test_forms.py b/tests/auth_tests/test_forms.py
index 88b4b32667..7a731bedc8 100644
--- a/tests/auth_tests/test_forms.py
+++ b/tests/auth_tests/test_forms.py
@@ -1022,6 +1022,7 @@ class ReadOnlyPasswordHashTest(SimpleTestCase):
def test_readonly_field_has_changed(self):
field = ReadOnlyPasswordHashField()
+ self.assertIs(field.disabled, True)
self.assertFalse(field.has_changed('aaa', 'bbb'))