summaryrefslogtreecommitdiff
path: root/tests/admin_registration
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2015-04-17 17:38:20 -0400
committerSimon Charette <charette.s@gmail.com>2015-05-20 13:46:13 -0400
commitbe67400b477c1b0e7e81766f41bbceed0de74bdc (patch)
treefd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/admin_registration
parente2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff)
downloaddjango-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz
Refs #24652 -- Used SimpleTestCase where appropriate.
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