Update tests

This commit is contained in:
Hugo van Kemenade 2022-04-25 22:06:36 +03:00
parent 2ed8a1fcd4
commit f2372310c1
2 changed files with 3 additions and 3 deletions

View File

@ -2118,7 +2118,7 @@ class TestDebugOptions:
result.stdout.fnmatch_lines( result.stdout.fnmatch_lines(
[ [
"*Store internal tracing debug information in this log*", "*Store internal tracing debug information in this log*",
"*This file is opened with 'w' and truncated as a result*", "*file. This file is opened with 'w' and truncated as a*",
"*Default: pytestdebug.log.", "*Default: pytestdebug.log.",
] ]
) )

View File

@ -30,8 +30,8 @@ def test_help(pytester: Pytester) -> None:
assert result.ret == 0 assert result.ret == 0
result.stdout.fnmatch_lines( result.stdout.fnmatch_lines(
""" """
-m MARKEXPR Only run tests matching given mark expression. -m MARKEXPR Only run tests matching given mark expression. For
For example: -m 'mark1 and not mark2'. example: -m 'mark1 and not mark2'.
Reporting: Reporting:
--durations=N * --durations=N *
-V, --version Display pytest version and information about plugins. -V, --version Display pytest version and information about plugins.