1
0
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:
Chris Jerdonek
2016-08-09 01:40:40 -07:00
committed by Tim Graham
parent ac1975b18b
commit a3a5ef4d0e
4 changed files with 20 additions and 4 deletions

View File

@@ -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"],