Update tests
This commit is contained in:
parent
2ed8a1fcd4
commit
f2372310c1
|
@ -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.",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue