mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.
This commit is contained in:
parent
ac1975b18b
commit
a3a5ef4d0e
4 changed files with 20 additions and 4 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue