diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-03-16 18:38:02 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-16 09:38:02 -0400 |
| commit | 1bf5e79394c43af29d2c67c54b32dca0f0e42ca2 (patch) | |
| tree | 68091f4000cf581ed25d23867a6ccb839e126e6a /tests | |
| parent | 6bc4ff36db0d85ac96ca91ae758159ee43836f86 (diff) | |
Removed GeoQuerySet leftovers.
Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/geoapp/test_functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py index 6b2a725ff7..ac429dfda9 100644 --- a/tests/gis_tests/geoapp/test_functions.py +++ b/tests/gis_tests/geoapp/test_functions.py @@ -24,7 +24,7 @@ class GISFunctionsTests(TestCase): def test_asgeojson(self): # Only PostGIS and SpatiaLite support GeoJSON. - if not connection.ops.geojson: + if not connection.features.has_AsGeoJSON_function: with self.assertRaises(NotImplementedError): list(Country.objects.annotate(json=functions.AsGeoJSON('mpoly'))) return |
