summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-09-19 12:26:36 -0400
committerTim Graham <timograham@gmail.com>2014-09-19 12:26:36 -0400
commit988c7425ff038f0b8b1c7d5ea9e04fc70b2b01f8 (patch)
tree98699226af7f4d5f37610185f4e9e810d2f0cc81
parentaa9c69a726d1dc3035a7518c90519b2cdf5475f6 (diff)
[1.7.x] Skipped an unsupported test on Oracle GIS.
This is fixed more elegantly on master with a feature flag in 6c1a0581ab.
-rw-r--r--django/contrib/gis/tests/test_spatialrefsys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/gis/tests/test_spatialrefsys.py b/django/contrib/gis/tests/test_spatialrefsys.py
index 968942ec07..82144358d7 100644
--- a/django/contrib/gis/tests/test_spatialrefsys.py
+++ b/django/contrib/gis/tests/test_spatialrefsys.py
@@ -1,7 +1,7 @@
import unittest
from django.contrib.gis.gdal import HAS_GDAL
-from django.contrib.gis.tests.utils import (no_mysql, oracle, postgis,
+from django.contrib.gis.tests.utils import (no_mysql, no_oracle, oracle, postgis,
spatialite, HAS_SPATIALREFSYS, SpatialRefSys)
from django.db import connection
from django.utils import six
@@ -103,6 +103,7 @@ class SpatialRefSysTest(unittest.TestCase):
self.assertAlmostEqual(ellps1[i], ellps2[i], prec[i])
@no_mysql
+ @no_oracle
def test_add_entry(self):
"""
Test adding a new entry in the SpatialRefSys model using the