mirror of
https://github.com/django/django.git
synced 2025-09-16 07:25:18 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
parent
f091ea3515
commit
193c109327
37 changed files with 130 additions and 134 deletions
|
@ -4,11 +4,11 @@ from django.contrib.admindocs.utils import (
|
|||
docutils_is_available, parse_docstring, parse_rst, trim_docstring,
|
||||
)
|
||||
|
||||
from .tests import AdminDocsTestCase
|
||||
from .tests import AdminDocsSimpleTestCase
|
||||
|
||||
|
||||
@unittest.skipUnless(docutils_is_available, "no docutils installed.")
|
||||
class TestUtils(AdminDocsTestCase):
|
||||
class TestUtils(AdminDocsSimpleTestCase):
|
||||
"""
|
||||
This __doc__ output is required for testing. I copied this example from
|
||||
`admindocs` documentation. (TITLE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue