diff options
| author | Tim Graham <timograham@gmail.com> | 2018-11-26 14:05:02 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-27 08:58:44 -0500 |
| commit | 193c109327c5216cab1d4eed6bfdff24629b09a3 (patch) | |
| tree | 3428f61d610f51349df5ab6eb26a4876b54878c5 /tests/admin_docs/tests.py | |
| parent | f091ea35150d95fc6732bbf0c27b971dd445509a (diff) | |
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/admin_docs/tests.py')
| -rw-r--r-- | tests/admin_docs/tests.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/admin_docs/tests.py b/tests/admin_docs/tests.py index dfe6104a33..d53cb80c94 100644 --- a/tests/admin_docs/tests.py +++ b/tests/admin_docs/tests.py @@ -1,5 +1,7 @@ from django.contrib.auth.models import User -from django.test import TestCase, modify_settings, override_settings +from django.test import ( + SimpleTestCase, TestCase, modify_settings, override_settings, +) class TestDataMixin: @@ -11,5 +13,11 @@ class TestDataMixin: @override_settings(ROOT_URLCONF='admin_docs.urls') @modify_settings(INSTALLED_APPS={'append': 'django.contrib.admindocs'}) +class AdminDocsSimpleTestCase(SimpleTestCase): + pass + + +@override_settings(ROOT_URLCONF='admin_docs.urls') +@modify_settings(INSTALLED_APPS={'append': 'django.contrib.admindocs'}) class AdminDocsTestCase(TestCase): pass |
