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/apps | |
parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
download | django-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/apps')
-rw-r--r-- | tests/apps/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py index 347996454f..e7e5c53534 100644 --- a/tests/apps/tests.py +++ b/tests/apps/tests.py @@ -10,7 +10,7 @@ from django.apps.registry import Apps from django.contrib.admin.models import LogEntry from django.core.exceptions import AppRegistryNotReady, ImproperlyConfigured from django.db import models -from django.test import TestCase, override_settings +from django.test import SimpleTestCase, override_settings from django.test.utils import extend_sys_path from django.utils import six from django.utils._os import upath @@ -38,7 +38,7 @@ SOME_INSTALLED_APPS_NAMES = [ HERE = os.path.dirname(upath(__file__)) -class AppsTests(TestCase): +class AppsTests(SimpleTestCase): def test_singleton_master(self): """ @@ -303,7 +303,7 @@ class Stub(object): self.__dict__.update(kwargs) -class AppConfigTests(TestCase): +class AppConfigTests(SimpleTestCase): """Unit tests for AppConfig class.""" def test_path_set_explicitly(self): """If subclass sets path as class attr, no module attributes needed.""" @@ -366,7 +366,7 @@ class AppConfigTests(TestCase): @skipUnless( sys.version_info > (3, 3, 0), "Namespace packages sans __init__.py were added in Python 3.3") -class NamespacePackageAppTests(TestCase): +class NamespacePackageAppTests(SimpleTestCase): # We need nsapp to be top-level so our multiple-paths tests can add another # location for it (if its inside a normal package with an __init__.py that # isn't possible). In order to avoid cluttering the already-full tests/ dir |