summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcuinix <915115094@qq.com>2024-03-07 11:23:26 +0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-03-07 06:01:01 +0100
commit20848bcf39de891bcf865b47f6f5f550e3f21958 (patch)
tree95b3a95ccd8780690629ca8a5848286c91b71f71 /tests
parent9e35c8b2e37ab228b169e63a71f7221e4e85f3da (diff)
Fixed typos in docstrings and docs.
Signed-off-by: cuinix <915115094@qq.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/layermap/tests.py2
-rw-r--r--tests/raw_query/tests.py5
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/gis_tests/layermap/tests.py b/tests/gis_tests/layermap/tests.py
index 283149eafc..6cc903f3ad 100644
--- a/tests/gis_tests/layermap/tests.py
+++ b/tests/gis_tests/layermap/tests.py
@@ -218,7 +218,7 @@ class LayerMapTest(TestCase):
# `unique='name'`: Creates models on the condition that they have
# unique county names; geometries from each feature however will be
# appended to the geometry collection of the unique model. Thus,
- # all of the various islands in Honolulu county will be in in one
+ # all of the various islands in Honolulu county will be in one
# database record with a MULTIPOLYGON type.
lm = LayerMapping(County, co_shp, co_mapping, transform=False, unique="name")
lm.save(silent=True, strict=True)
diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py
index 1dcc7ce740..853b7ee20e 100644
--- a/tests/raw_query/tests.py
+++ b/tests/raw_query/tests.py
@@ -176,10 +176,7 @@ class RawQueryTests(TestCase):
self.assertSuccessfulRawQuery(MixedCaseIDColumn, query, queryset)
def test_order_handler(self):
- """
- Test of raw raw query's tolerance for columns being returned in any
- order
- """
+ """Raw query tolerates columns being returned in any order."""
selects = (
("dob, last_name, first_name, id"),
("last_name, dob, first_name, id"),