summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2021-01-02 15:39:48 -0500
committerGitHub <noreply@github.com>2021-01-02 21:39:48 +0100
commit060e6bdd1f96f46d43fa34636284c20525a96f20 (patch)
treef93a0a79db93c6b7886bd484fc6f472d0430049e /tests
parent656b331b13e08e82bbf0b88d39080c5b1a02109c (diff)
Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geoapp/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py
index 94cb4b10de..9ac6928772 100644
--- a/tests/gis_tests/geoapp/tests.py
+++ b/tests/gis_tests/geoapp/tests.py
@@ -308,7 +308,7 @@ class GeoLookupTest(TestCase):
self.assertEqual(qs.filter(poly__isvalid=False).count(), 1)
self.assertEqual(qs.filter(poly__isvalid=True).count(), qs.count() - 1)
- @skipUnlessDBFeature("supports_left_right_lookups")
+ @skipUnlessGISLookup('left', 'right')
def test_left_right_lookups(self):
"Testing the 'left' and 'right' lookup types."
# Left: A << B => true if xmax(A) < xmin(B)