diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-18 12:35:13 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-08-03 10:10:43 +0300 |
commit | b8471aa527ab1a21ee66f24e5c23a9773b5b0793 (patch) | |
tree | 37dfeeea501768be711d7faefae6a1c3fcec29d1 /testing/test_setupplan.py | |
parent | 701998bf2c9e91e8b153ef237c96c31294b8b8c7 (diff) | |
download | pytest-b8471aa527ab1a21ee66f24e5c23a9773b5b0793.tar.gz |
testing: fix some docstring issues
In preparation for enforcing some docstring lints.
Diffstat (limited to 'testing/test_setupplan.py')
-rw-r--r-- | testing/test_setupplan.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/testing/test_setupplan.py b/testing/test_setupplan.py index 64b464b32..929e883cc 100644 --- a/testing/test_setupplan.py +++ b/testing/test_setupplan.py @@ -1,5 +1,5 @@ def test_show_fixtures_and_test(testdir, dummy_yaml_custom_test): - """ Verifies that fixtures are not executed. """ + """Verify that fixtures are not executed.""" testdir.makepyfile( """ import pytest @@ -20,8 +20,7 @@ def test_show_fixtures_and_test(testdir, dummy_yaml_custom_test): def test_show_multi_test_fixture_setup_and_teardown_correctly_simple(testdir): - """ - Verify that when a fixture lives for longer than a single test, --setup-plan + """Verify that when a fixture lives for longer than a single test, --setup-plan correctly displays the SETUP/TEARDOWN indicators the right number of times. As reported in https://github.com/pytest-dev/pytest/issues/2049 @@ -68,9 +67,7 @@ def test_show_multi_test_fixture_setup_and_teardown_correctly_simple(testdir): def test_show_multi_test_fixture_setup_and_teardown_same_as_setup_show(testdir): - """ - Verify that SETUP/TEARDOWN messages match what comes out of --setup-show. - """ + """Verify that SETUP/TEARDOWN messages match what comes out of --setup-show.""" testdir.makepyfile( """ import pytest |