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_checks | |
parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
download | django-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/admin_checks')
-rw-r--r-- | tests/admin_checks/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py index 7e1902105f..d988ade920 100644 --- a/tests/admin_checks/tests.py +++ b/tests/admin_checks/tests.py @@ -4,7 +4,7 @@ from django import forms from django.contrib import admin from django.contrib.contenttypes.admin import GenericStackedInline from django.core import checks -from django.test import TestCase, override_settings +from django.test import SimpleTestCase, override_settings from .models import Album, Book, City, Influence, Song, State, TwoAlbumFKAndAnE @@ -41,7 +41,7 @@ class MyAdmin(admin.ModelAdmin): SILENCED_SYSTEM_CHECKS=['fields.W342'], # ForeignKey(unique=True) INSTALLED_APPS=['django.contrib.auth', 'django.contrib.contenttypes', 'admin_checks'] ) -class SystemChecksTestCase(TestCase): +class SystemChecksTestCase(SimpleTestCase): @override_settings(DEBUG=True) def test_checks_are_performed(self): |