summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-11-07 14:43:33 +0100
committerClaude Paroz <claude@2xlibre.net>2015-11-07 16:04:24 +0100
commitc3531d2f208c5a039a190ec36a7349f627f13f01 (patch)
tree312d4305927fee5dc0340bff4cd1204a7fb19116 /tests
parent24c1605aa0bf88b78c261210698d0ae75756cac0 (diff)
Removed ability to pass a geometry string to GIS functions
This was a possible confusion source with column name arguments. Thanks Sergey Fedoseev for the suggestion.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/distapp/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gis_tests/distapp/tests.py b/tests/gis_tests/distapp/tests.py
index 2483e852fb..c50f1124f0 100644
--- a/tests/gis_tests/distapp/tests.py
+++ b/tests/gis_tests/distapp/tests.py
@@ -516,9 +516,7 @@ class DistanceFunctionsTests(TestCase):
dist_qs = [dist1]
else:
dist2 = SouthTexasCityFt.objects.annotate(distance=Distance('point', lagrange)).order_by('id')
- # Using EWKT string parameter.
- dist3 = SouthTexasCityFt.objects.annotate(distance=Distance('point', lagrange.ewkt)).order_by('id')
- dist_qs = [dist1, dist2, dist3]
+ dist_qs = [dist1, dist2]
# Original query done on PostGIS, have to adjust AlmostEqual tolerance
# for Oracle.