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

Method test_file_not_found

testing/acceptance_test.py:69–72  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

67 )
68
69 def test_file_not_found(self, pytester: Pytester) -> None:
70 result = pytester.runpytest("asd")
71 assert result.ret != 0
72 result.stderr.fnmatch_lines(["ERROR: file or directory not found: asd"])
73
74 def test_file_not_found_unconfigure_issue143(self, pytester: Pytester) -> None:
75 pytester.makeconftest(

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected