diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-08-09 18:46:14 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-08-09 18:48:57 +0200 |
| commit | 246e516f29b155bb9eec4907f5fad7e1655e1173 (patch) | |
| tree | 15d262a0521e17f2eb0cef08bad5b87cced679ec /tests | |
| parent | 630613d7194007004c9b62cf614caad2492d0ad7 (diff) | |
[1.10.x] Unified SpatiaLite spelling
Backport of ade681b9ad2a97833cd3f06530fba01e51250b32 from master.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/distapp/tests.py | 2 | ||||
| -rw-r--r-- | tests/gis_tests/geoapp/test_functions.py | 4 | ||||
| -rw-r--r-- | tests/gis_tests/inspectapp/tests.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/gis_tests/distapp/tests.py b/tests/gis_tests/distapp/tests.py index ca057da9b8..e00756f911 100644 --- a/tests/gis_tests/distapp/tests.py +++ b/tests/gis_tests/distapp/tests.py @@ -451,7 +451,7 @@ ST_Perimeter(geom1) | OK | :-( (degr ================================ -Distance functions on Spatialite +Distance functions on SpatiaLite ================================ | Projected Geometry | Lon/lat Geometry diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py index c0e0a37ab3..1a1727dbbc 100644 --- a/tests/gis_tests/geoapp/test_functions.py +++ b/tests/gis_tests/geoapp/test_functions.py @@ -292,7 +292,7 @@ class GISFunctionsTests(TestCase): qs = Track.objects.annotate(num_points=functions.NumPoints('line')) self.assertEqual(qs.first().num_points, 2) if spatialite or mysql: - # Spatialite and MySQL can only count points on LineStrings + # SpatiaLite and MySQL can only count points on LineStrings return for c in Country.objects.annotate(num_points=functions.NumPoints('mpoly')): @@ -321,7 +321,7 @@ class GISFunctionsTests(TestCase): qs = Country.objects.annotate(point_on_surface=functions.PointOnSurface('mpoly')) for country in qs: - tol = 0.00001 # Spatialite might have WKT-translation-related precision issues + tol = 0.00001 # SpatiaLite might have WKT-translation-related precision issues self.assertTrue(ref[country.name].equals_exact(country.point_on_surface, tol)) @skipUnlessDBFeature("has_Reverse_function") diff --git a/tests/gis_tests/inspectapp/tests.py b/tests/gis_tests/inspectapp/tests.py index 0df9309932..1f43d65bff 100644 --- a/tests/gis_tests/inspectapp/tests.py +++ b/tests/gis_tests/inspectapp/tests.py @@ -189,7 +189,7 @@ def get_ogr_db_string(): except GDALException: return None - # SQLite/Spatialite in-memory databases + # SQLite/SpatiaLite in-memory databases if db['NAME'] == ":memory:": return None |
