Fixed typo in tests/test_runner/test_discover_runner.py.
This commit is contained in:
parent
66ed03e7c9
commit
8b4983cfd4
|
@ -355,7 +355,7 @@ class DiscoverRunnerTests(SimpleTestCase):
|
||||||
self.assertEqual(suite.processes, len(suite.subsuites))
|
self.assertEqual(suite.processes, len(suite.subsuites))
|
||||||
|
|
||||||
def test_buffer_mode_test_pass(self):
|
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:
|
with captured_stdout() as stdout, captured_stderr() as stderr:
|
||||||
suite = runner.build_suite([
|
suite = runner.build_suite([
|
||||||
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_pass',
|
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_pass',
|
||||||
|
@ -365,7 +365,7 @@ class DiscoverRunnerTests(SimpleTestCase):
|
||||||
self.assertNotIn('Write to stdout.', stdout.getvalue())
|
self.assertNotIn('Write to stdout.', stdout.getvalue())
|
||||||
|
|
||||||
def test_buffer_mode_test_fail(self):
|
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:
|
with captured_stdout() as stdout, captured_stderr() as stderr:
|
||||||
suite = runner.build_suite([
|
suite = runner.build_suite([
|
||||||
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_fail',
|
'test_runner_apps.buffer.tests_buffer.WriteToStdoutStderrTestCase.test_fail',
|
||||||
|
|
Loading…
Reference in New Issue