1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Switched TestCase to SimpleTestCase in GIS tests.

This commit is contained in:
Tim Graham
2018-11-27 10:22:13 -05:00
parent 0f212db29d
commit 7056a4dd8e
2 changed files with 4 additions and 4 deletions

View File

@@ -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]