From be67400b477c1b0e7e81766f41bbceed0de74bdc Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 17 Apr 2015 17:38:20 -0400 Subject: Refs #24652 -- Used SimpleTestCase where appropriate. --- tests/admin_registration/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/admin_registration') 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 -- cgit v1.3