diff options
author | Simon Charette <charette.s@gmail.com> | 2015-04-17 17:38:20 -0400 |
---|---|---|
committer | Simon Charette <charette.s@gmail.com> | 2015-05-20 13:46:13 -0400 |
commit | be67400b477c1b0e7e81766f41bbceed0de74bdc (patch) | |
tree | fd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/admin_registration | |
parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
download | django-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/admin_registration')
-rw-r--r-- | tests/admin_registration/tests.py | 6 |
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 |