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/staticfiles_tests | |
| parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/staticfiles_tests')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
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. """ |
