mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
|
@ -3,7 +3,7 @@ from argparse import ArgumentParser
|
|||
from contextlib import contextmanager
|
||||
from unittest import TestSuite, TextTestRunner, defaultTestLoader
|
||||
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.runner import DiscoverRunner
|
||||
from django.test.utils import captured_stdout
|
||||
|
||||
|
@ -20,7 +20,7 @@ def change_cwd(directory):
|
|||
os.chdir(old_cwd)
|
||||
|
||||
|
||||
class DiscoverRunnerTest(TestCase):
|
||||
class DiscoverRunnerTests(SimpleTestCase):
|
||||
|
||||
def test_init_debug_mode(self):
|
||||
runner = DiscoverRunner()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue