(self, pytester: Pytester)
| 1177 | |
| 1178 | class 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") |
no test coverage detected