diff options
| author | Tim Graham <timograham@gmail.com> | 2016-02-05 15:56:52 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-06 08:47:21 -0500 |
| commit | 015fad9060a8a6fb273a33b8e8457e504ed26131 (patch) | |
| tree | dc56db72ffaea2acbe5925a10c95021f7a26df39 /tests/auth_tests/test_validators.py | |
| parent | f8e865d78f9acb1ad976cffffb207d66ff8cef72 (diff) | |
Fixed #26175 -- Removed SHA1 password hashes in tests.
Diffstat (limited to 'tests/auth_tests/test_validators.py')
| -rw-r--r-- | tests/auth_tests/test_validators.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_validators.py b/tests/auth_tests/test_validators.py index a9f47eac1f..5d758cd342 100644 --- a/tests/auth_tests/test_validators.py +++ b/tests/auth_tests/test_validators.py @@ -97,9 +97,9 @@ class MinimumLengthValidatorTest(TestCase): class UserAttributeSimilarityValidatorTest(TestCase): def test_validate(self): - user = User.objects.create( - username='testclient', first_name='Test', last_name='Client', email='testclient@example.com', - password='sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161', + user = User.objects.create_user( + username='testclient', password='password', email='testclient@example.com', + first_name='Test', last_name='Client', ) expected_error = "The password is too similar to the %s." |
