summaryrefslogtreecommitdiff
path: root/tests/admin_registration
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_registration')
-rw-r--r--tests/admin_registration/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_registration/tests.py b/tests/admin_registration/tests.py
index 6cda66bb0e..7471c521d6 100644
--- a/tests/admin_registration/tests.py
+++ b/tests/admin_registration/tests.py
@@ -4,7 +4,7 @@ from django.contrib import admin
from django.contrib.admin.decorators import register
from django.contrib.admin.sites import site
from django.core.exceptions import ImproperlyConfigured
-from django.test import TestCase
+from django.test import SimpleTestCase
from .models import Location, Person, Place, Traveler
@@ -18,7 +18,7 @@ class CustomSite(admin.AdminSite):
pass
-class TestRegistration(TestCase):
+class TestRegistration(SimpleTestCase):
def setUp(self):
self.site = admin.AdminSite()
@@ -80,7 +80,7 @@ class TestRegistration(TestCase):
self.assertFalse(self.site.is_registered(Person))
-class TestRegistrationDecorator(TestCase):
+class TestRegistrationDecorator(SimpleTestCase):
"""
Tests the register decorator in admin.decorators