summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-11-27 10:22:13 -0500
committerTim Graham <timograham@gmail.com>2018-11-27 10:22:13 -0500
commit7056a4dd8e10dd16eb30fb9ed997f75bd54c00bb (patch)
tree7ca57ce0975eb262615405fa0c217e9dff8f362f
parent0f212db29d361ec6219b170198b7c94d0bb3f719 (diff)
Switched TestCase to SimpleTestCase in GIS tests.
-rw-r--r--tests/gis_tests/geoadmin/tests.py4
-rw-r--r--tests/gis_tests/inspectapp/tests.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/gis_tests/geoadmin/tests.py b/tests/gis_tests/geoadmin/tests.py
index 2ab87d8e41..c66014454f 100644
--- a/tests/gis_tests/geoadmin/tests.py
+++ b/tests/gis_tests/geoadmin/tests.py
@@ -1,13 +1,13 @@
from django.contrib.gis import admin
from django.contrib.gis.geos import Point
-from django.test import TestCase, override_settings
+from django.test import SimpleTestCase, override_settings
from .admin import UnmodifiableAdmin
from .models import City, site
@override_settings(ROOT_URLCONF='django.contrib.gis.tests.geoadmin.urls')
-class GeoAdminTest(TestCase):
+class GeoAdminTest(SimpleTestCase):
def test_ensure_geographic_media(self):
geoadmin = site._registry[City]
diff --git a/tests/gis_tests/inspectapp/tests.py b/tests/gis_tests/inspectapp/tests.py
index 4fdd38f647..431818ebfd 100644
--- a/tests/gis_tests/inspectapp/tests.py
+++ b/tests/gis_tests/inspectapp/tests.py
@@ -6,7 +6,7 @@ from django.contrib.gis.gdal import GDAL_VERSION, Driver, GDALException
from django.contrib.gis.utils.ogrinspect import ogrinspect
from django.core.management import call_command
from django.db import connection, connections
-from django.test import TestCase, skipUnlessDBFeature
+from django.test import SimpleTestCase, TestCase, skipUnlessDBFeature
from django.test.utils import modify_settings
from ..test_data import TEST_DATA
@@ -59,7 +59,7 @@ class InspectDbTests(TestCase):
@modify_settings(
INSTALLED_APPS={'append': 'django.contrib.gis'},
)
-class OGRInspectTest(TestCase):
+class OGRInspectTest(SimpleTestCase):
expected_srid = 'srid=-1' if GDAL_VERSION < (2, 2) else ''
maxDiff = 1024