mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.
This commit is contained in:
committed by
Tim Graham
parent
ac1975b18b
commit
a3a5ef4d0e
@@ -20,6 +20,10 @@ def change_cwd(directory):
|
||||
|
||||
class DiscoverRunnerTest(TestCase):
|
||||
|
||||
def test_init_debug_mode(self):
|
||||
runner = DiscoverRunner()
|
||||
self.assertFalse(runner.debug_mode)
|
||||
|
||||
def test_dotted_test_module(self):
|
||||
count = DiscoverRunner().build_suite(
|
||||
["test_discovery_sample.tests_sample"],
|
||||
|
||||
Reference in New Issue
Block a user