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

Method check_readme

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

Source from the content-addressed store, hash-verified

1177
1178class TestReadme:
1179 def check_readme(self, pytester: Pytester) -> bool:
1180 config = pytester.parseconfigure()
1181 assert config.cache is not None
1182 readme = config.cache._cachedir.joinpath("README.md")
1183 return readme.is_file()
1184
1185 def test_readme_passed(self, pytester: Pytester) -> None:
1186 pytester.makepyfile("def test_always_passes(): pass")

Callers 2

test_readme_passedMethod · 0.95
test_readme_failedMethod · 0.95

Calls 1

parseconfigureMethod · 0.45

Tested by

no test coverage detected