|
@@ -240,8 +240,8 @@ class UserCreationFormTest(TestDataMixin, TestCase):
|
|
|
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
|
|
|
])
|
|
|
def test_password_help_text(self):
|
|
|
- form = UserCreationForm()
|
|
|
- self.assertEqual(
|
|
|
+ form = UserCreationForm()
|
|
|
+ self.assertEqual(
|
|
|
form.fields['password1'].help_text,
|
|
|
'<ul><li>Your password can't be too similar to your other personal information.</li></ul>'
|
|
|
)
|