MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_rootdir_wrong_option_arg

Function test_rootdir_wrong_option_arg

testing/test_session.py:365–369  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

363
364
365def test_rootdir_wrong_option_arg(pytester: Pytester) -> None:
366 result = pytester.runpytest("--rootdir=wrong_dir")
367 result.stderr.fnmatch_lines(
368 ["*Directory *wrong_dir* not found. Check your '--rootdir' option.*"]
369 )

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected