1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed typo in tests/test_runner/test_discover_runner.py.

This commit is contained in:
Mariusz Felisiak 2021-06-10 13:25:05 +02:00 committed by GitHub
parent 66ed03e7c9
commit 8b4983cfd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ class DiscoverRunnerTests(SimpleTestCase):
self.assertEqual(suite.processes, len(suite.subsuites))
def test_buffer_mode_test_pass(self):
runner = DiscoverRunner(buffer=True, verbose=0)
runner = DiscoverRunner(buffer=True, verbosity=0)
with captured_stdout() as stdout, captured_stderr() as stderr:
suite = runner.build_suite([
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_pass',
@ -365,7 +365,7 @@ class DiscoverRunnerTests(SimpleTestCase):
self.assertNotIn('Write to stdout.', stdout.getvalue())
def test_buffer_mode_test_fail(self):
runner = DiscoverRunner(buffer=True, verbose=0)
runner = DiscoverRunner(buffer=True, verbosity=0)
with captured_stdout() as stdout, captured_stderr() as stderr:
suite = runner.build_suite([
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_fail',