summaryrefslogtreecommitdiff
path: root/testing/test_helpconfig.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-02-25 16:05:17 +0100
committerBruno Oliveira <nicoddemus@gmail.com>2020-05-19 19:34:08 -0300
commit35d136161a577cc5ca75446d90887686ebad966c (patch)
tree0a203a05ed1b6c83a6defe593bc98b775ac59e54 /testing/test_helpconfig.py
parent691a7fceea5188625689aea61bb78a12ea1e3571 (diff)
downloadpytest-35d136161a577cc5ca75446d90887686ebad966c.tar.gz
add test
Fixes the test to not match e.g. hypothesis (ref: bdde2ac28). Conflicts: testing/test_helpconfig.py
Diffstat (limited to 'testing/test_helpconfig.py')
-rw-r--r--testing/test_helpconfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py
index aaf9a2e28..5e4f85228 100644
--- a/testing/test_helpconfig.py
+++ b/testing/test_helpconfig.py
@@ -19,7 +19,10 @@ def test_help(testdir):
assert result.ret == 0
result.stdout.fnmatch_lines(
"""
- *-v*verbose*
+ -m MARKEXPR only run tests matching given mark expression.
+ For example: -m 'mark1 and not mark2'.
+ reporting:
+ --durations=N *
*setup.cfg*
*minversion*
*to see*markers*pytest --markers*