mirror of https://github.com/django/django.git
Fixed indentation in previous commit.
This commit is contained in:
parent
536db42cf0
commit
0368d63a78
|
@ -240,8 +240,8 @@ class UserCreationFormTest(TestDataMixin, TestCase):
|
||||||
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
|
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
|
||||||
])
|
])
|
||||||
def test_password_help_text(self):
|
def test_password_help_text(self):
|
||||||
form = UserCreationForm()
|
form = UserCreationForm()
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
form.fields['password1'].help_text,
|
form.fields['password1'].help_text,
|
||||||
'<ul><li>Your password can't be too similar to your other personal information.</li></ul>'
|
'<ul><li>Your password can't be too similar to your other personal information.</li></ul>'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue