summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/asgi/tests.py2
-rw-r--r--tests/auth_tests/test_hashers.py2
-rw-r--r--tests/file_storage/test_inmemory_storage.py2
-rw-r--r--tests/fixtures_regress/tests.py2
-rw-r--r--tests/template_tests/tests.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py
index 61d040b45b..824f396e00 100644
--- a/tests/asgi/tests.py
+++ b/tests/asgi/tests.py
@@ -61,7 +61,7 @@ class ASGITest(SimpleTestCase):
# Python's file API is not async compatible. A third-party library such
# as https://github.com/Tinche/aiofiles allows passing the file to
- # FileResponse as an async interator. With a sync iterator
+ # FileResponse as an async iterator. With a sync iterator
# StreamingHTTPResponse triggers a warning when iterating the file.
# assertWarnsMessage is not async compatible, so ignore_warnings for the
# test.
diff --git a/tests/auth_tests/test_hashers.py b/tests/auth_tests/test_hashers.py
index e41fbf9b78..d1c26cfaa8 100644
--- a/tests/auth_tests/test_hashers.py
+++ b/tests/auth_tests/test_hashers.py
@@ -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.
diff --git a/tests/file_storage/test_inmemory_storage.py b/tests/file_storage/test_inmemory_storage.py
index b1d2e2e5a1..13ae9b9482 100644
--- a/tests/file_storage/test_inmemory_storage.py
+++ b/tests/file_storage/test_inmemory_storage.py
@@ -161,7 +161,7 @@ class MemoryStorageTimesTests(unittest.TestCase):
self.assertTrue(new_modified_time > modified_time)
def test_file_accessed_time(self):
- """File accessed time should chage after consecutive opening."""
+ """File accessed time should change after consecutive opening."""
self.storage.save("file.txt", ContentFile("test"))
accessed_time = self.storage.get_accessed_time("file.txt")
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py
index 1fc7e94e0b..54d7cac50a 100644
--- a/tests/fixtures_regress/tests.py
+++ b/tests/fixtures_regress/tests.py
@@ -811,7 +811,7 @@ class NaturalKeyFixtureOnOtherDatabaseTests(TestCase):
def test_natural_key_dependencies(self):
"""
- Natural keys with foreing keys in dependencies works in a multiple
+ Natural keys with foreign keys in dependencies works in a multiple
database setup.
"""
management.call_command(
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py
index f35ae49ca3..d9bdd6e68f 100644
--- a/tests/template_tests/tests.py
+++ b/tests/template_tests/tests.py
@@ -31,7 +31,7 @@ class TemplateTestMixin:
def test_url_reverse_view_name(self):
"""
- #19827 -- url tag should keep original strack trace when reraising
+ #19827 -- url tag should keep original stack trace when reraising
exception.
"""
t = self._engine().from_string("{% url will_not_match %}")