summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2016-11-29 20:06:17 +0600
committerTim Graham <timograham@gmail.com>2016-11-29 09:06:17 -0500
commitfb3716b15679bc27926aebfd7c6ca9a8b3e986c3 (patch)
tree7f456cd403bebd895566b09da4221992aa4dd2e9
parent9992decbf11d33c83b9ffe58e477ccb99ad51559 (diff)
Enabled GeoQuerySetTest.test_unionagg on Oracle; refs #23504.
It's not clear when it started to work.
-rw-r--r--tests/gis_tests/geoapp/tests.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py
index 6ac7850234..536aa1b907 100644
--- a/tests/gis_tests/geoapp/tests.py
+++ b/tests/gis_tests/geoapp/tests.py
@@ -15,7 +15,7 @@ from django.test import TestCase, ignore_warnings, skipUnlessDBFeature
from django.utils import six
from django.utils.deprecation import RemovedInDjango20Warning
-from ..utils import no_oracle, oracle, postgis, skipUnlessGISLookup, spatialite
+from ..utils import oracle, postgis, skipUnlessGISLookup, spatialite
from .models import (
City, Country, Feature, MinusOneSRID, NonConcreteModel, PennsylvaniaCity,
State, Track,
@@ -851,11 +851,7 @@ class GeoQuerySetTest(TestCase):
self.assertAlmostEqual(c1[0] + xfac, c2[0], 5)
self.assertAlmostEqual(c1[1] + yfac, c2[1], 5)
- # TODO: Oracle can be made to pass if
- # union1 = union2 = fromstr('POINT (-97.5211570000000023 34.4646419999999978)')
- # but this seems unexpected and should be investigated to determine the cause.
@skipUnlessDBFeature("has_unionagg_method")
- @no_oracle
def test_unionagg(self):
"""
Testing the `Union` aggregate.