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

Method test_readme_passed

testing/test_cacheprovider.py:1185–1188  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

1183 return readme.is_file()
1184
1185 def test_readme_passed(self, pytester: Pytester) -> None:
1186 pytester.makepyfile("def test_always_passes(): pass")
1187 pytester.runpytest()
1188 assert self.check_readme(pytester) is True
1189
1190 def test_readme_failed(self, pytester: Pytester) -> None:
1191 pytester.makepyfile("def test_always_fails(): assert 0")

Callers

nothing calls this directly

Calls 3

check_readmeMethod · 0.95
makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected