summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-08-23 18:46:43 +1000
committerCarlton Gibson <carlton.gibson@noumenal.es>2019-08-23 10:46:43 +0200
commit7bd963332017eace00be8caf7dc1b7b304da613a (patch)
treec6e31c2ef6af2b1868fdaa3004e4f0388514bc49
parent521308e575e4510ef4256f2ba2943a5e570c9328 (diff)
Fixed typos in test names and a comment.
-rw-r--r--tests/aggregation_regress/tests.py2
-rw-r--r--tests/builtin_server/tests.py2
-rw-r--r--tests/prefetch_related/tests.py2
-rw-r--r--tests/requests/tests.py2
-rw-r--r--tests/schema/tests.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/aggregation_regress/tests.py b/tests/aggregation_regress/tests.py
index f46da0e957..4142643020 100644
--- a/tests/aggregation_regress/tests.py
+++ b/tests/aggregation_regress/tests.py
@@ -1298,7 +1298,7 @@ class AggregationTests(TestCase):
)
@skipUnlessDBFeature('allows_group_by_selected_pks')
- def test_aggregate_ummanaged_model_columns(self):
+ def test_aggregate_unmanaged_model_columns(self):
"""
Unmanaged models are sometimes used to represent database views which
may not allow grouping by selected primary key.
diff --git a/tests/builtin_server/tests.py b/tests/builtin_server/tests.py
index 73e3d0c07e..879a93bc08 100644
--- a/tests/builtin_server/tests.py
+++ b/tests/builtin_server/tests.py
@@ -66,7 +66,7 @@ def wsgi_app_file_wrapper(environ, start_response):
class WSGIFileWrapperTests(TestCase):
"""
- The wsgi.file_wrapper works for the builting server.
+ The wsgi.file_wrapper works for the builtin server.
Tests for #9659: wsgi.file_wrapper in the builtin server.
We need to mock a couple of handlers and keep track of what
diff --git a/tests/prefetch_related/tests.py b/tests/prefetch_related/tests.py
index 49c7fd8ff6..2a61508a0d 100644
--- a/tests/prefetch_related/tests.py
+++ b/tests/prefetch_related/tests.py
@@ -1363,7 +1363,7 @@ class Ticket21760Tests(TestCase):
self.assertNotIn(' JOIN ', str(queryset.query))
-class DirectPrefechedObjectCacheReuseTests(TestCase):
+class DirectPrefetchedObjectCacheReuseTests(TestCase):
"""
prefetch_related() reuses objects fetched in _prefetched_objects_cache.
diff --git a/tests/requests/tests.py b/tests/requests/tests.py
index 0c68105bb4..3320c59ba3 100644
--- a/tests/requests/tests.py
+++ b/tests/requests/tests.py
@@ -458,7 +458,7 @@ class RequestsTests(SimpleTestCase):
self.assertEqual(request.read(13), b'--boundary\r\nC')
self.assertEqual(request.POST, {'name': ['value']})
- def test_POST_immutable_for_mutipart(self):
+ def test_POST_immutable_for_multipart(self):
"""
MultiPartParser.parse() leaves request.POST immutable.
"""
diff --git a/tests/schema/tests.py b/tests/schema/tests.py
index 7276912c71..8421fac09e 100644
--- a/tests/schema/tests.py
+++ b/tests/schema/tests.py
@@ -2574,7 +2574,7 @@ class SchemaTests(TransactionTestCase):
self.assertIsNone(field.default)
@unittest.skipIf(connection.vendor == 'sqlite', 'SQLite naively remakes the table on field alteration.')
- def test_alter_field_default_doesnt_perfom_queries(self):
+ def test_alter_field_default_doesnt_perform_queries(self):
"""
No queries are performed if a field default changes and the field's
not changing from null to non-null.