Skip to content

Commit

Permalink
Switched TestCase to SimpleTestCase in GIS tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Nov 27, 2018
1 parent 0f212db commit 7056a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/gis_tests/geoadmin/tests.py
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
4 changes: 2 additions & 2 deletions tests/gis_tests/inspectapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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
Expand Down Expand Up @@ -59,7 +59,7 @@ def test_3d_columns(self):
@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

Expand Down

0 comments on commit 7056a4d

Please sign in to comment.