[1.9.x] Refs #25438 -- Fixed two geoapp test failures on Oracle.

This commit is contained in:
Tim Graham 2015-11-25 08:13:15 -05:00
parent 2e2e099a73
commit 5657000bfe
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ class GISFunctionsTests(TestCase):
qs = qs.exclude(name='Texas')
for c in qs:
self.assertEqual(c.mpoly.difference(geom), c.diff)
self.assertTrue(c.mpoly.difference(geom).equals(c.diff))
@skipUnlessDBFeature("has_Difference_function")
def test_difference_mixed_srid(self):
@ -188,7 +188,7 @@ class GISFunctionsTests(TestCase):
if spatialite or oracle:
qs = qs.exclude(name='Texas')
for c in qs:
self.assertEqual(c.mpoly.difference(geom), c.difference)
self.assertTrue(c.mpoly.difference(geom).equals(c.difference))
@skipUnlessDBFeature("has_Envelope_function")
def test_envelope(self):