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/staticfiles_tests/tests.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/staticfiles_tests') diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index 92f36f637a..52a45d2ccf 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -18,7 +18,7 @@ from django.core.cache.backends.base import BaseCache from django.core.exceptions import ImproperlyConfigured from django.core.management import call_command from django.template import Context, Template -from django.test import TestCase, override_settings +from django.test import SimpleTestCase, override_settings from django.utils import six from django.utils._os import symlinks_supported, upath from django.utils.encoding import force_text @@ -85,7 +85,7 @@ class BaseStaticFilesTestCase(object): @override_settings(**TEST_SETTINGS) -class StaticFilesTestCase(BaseStaticFilesTestCase, TestCase): +class StaticFilesTestCase(BaseStaticFilesTestCase, SimpleTestCase): pass @@ -596,7 +596,7 @@ class TestHashedFiles(object): DEBUG=False, )) class TestCollectionCachedStorage(TestHashedFiles, BaseCollectionTestCase, - BaseStaticFilesTestCase, TestCase): + BaseStaticFilesTestCase, SimpleTestCase): """ Tests for the Cache busting storage """ @@ -633,7 +633,7 @@ class TestCollectionCachedStorage(TestHashedFiles, BaseCollectionTestCase, DEBUG=False, )) class TestCollectionManifestStorage(TestHashedFiles, BaseCollectionTestCase, - BaseStaticFilesTestCase, TestCase): + BaseStaticFilesTestCase, SimpleTestCase): """ Tests for the Cache busting storage """ @@ -701,7 +701,7 @@ class TestCollectionManifestStorage(TestHashedFiles, BaseCollectionTestCase, DEBUG=False, )) class TestCollectionSimpleCachedStorage(BaseCollectionTestCase, - BaseStaticFilesTestCase, TestCase): + BaseStaticFilesTestCase, SimpleTestCase): """ Tests for the Cache busting storage """ @@ -863,7 +863,7 @@ class TestDefaultStorageFinder(StaticFilesTestCase, FinderTestCase): STATICFILES_FINDERS=['django.contrib.staticfiles.finders.FileSystemFinder'], STATICFILES_DIRS=[os.path.join(TEST_ROOT, 'project', 'documents')], ) -class TestMiscFinder(TestCase): +class TestMiscFinder(SimpleTestCase): """ A few misc finder tests. """ -- cgit v1.3