1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed some typos in comments, docstrings, and tests.

This commit is contained in:
Liyang Zhang
2023-03-20 02:07:23 -05:00
committed by GitHub
parent b295b31171
commit f9f9215d3e
9 changed files with 9 additions and 9 deletions

View File

@@ -345,7 +345,7 @@ class TestUtilsHashPass(SimpleTestCase):
self.assertFalse(check_password("", encoded))
self.assertFalse(check_password("lètmein", encoded))
self.assertFalse(check_password("lètmeinz", encoded))
with self.assertRaisesMessage(ValueError, "Unknown password hashing algorith"):
with self.assertRaisesMessage(ValueError, "Unknown password hashing algorithm"):
identify_hasher(encoded)
# Assert that the unusable passwords actually contain a random part.
# This might fail one day due to a hash collision.