1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Switched TestCase to SimpleTestCase where possible in Django's tests.

This commit is contained in:
Tim Graham
2018-11-26 14:05:02 -05:00
parent f091ea3515
commit 193c109327
37 changed files with 130 additions and 134 deletions

View File

@@ -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()