(
pytester: Pytester, tmp_path_factory: TempPathFactory
)
| 212 | |
| 213 | |
| 214 | def test_cache_reportheader_external_abspath( |
| 215 | pytester: Pytester, tmp_path_factory: TempPathFactory |
| 216 | ) -> None: |
| 217 | external_cache = tmp_path_factory.mktemp( |
| 218 | "test_cache_reportheader_external_abspath_abs" |
| 219 | ) |
| 220 | |
| 221 | pytester.makepyfile("def test_hello(): pass") |
| 222 | pytester.makeini( |
| 223 | f""" |
| 224 | [pytest] |
| 225 | cache_dir = {external_cache} |
| 226 | """ |
| 227 | ) |
| 228 | result = pytester.runpytest("-v") |
| 229 | result.stdout.fnmatch_lines([f"cachedir: {external_cache}"]) |
| 230 | |
| 231 | |
| 232 | def test_cache_show(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected