(
pytester: Pytester, tmp_path_factory: TempPathFactory
)
| 190 | |
| 191 | |
| 192 | def test_cache_reportheader_external_abspath( |
| 193 | pytester: Pytester, tmp_path_factory: TempPathFactory |
| 194 | ) -> None: |
| 195 | external_cache = tmp_path_factory.mktemp( |
| 196 | "test_cache_reportheader_external_abspath_abs" |
| 197 | ) |
| 198 | |
| 199 | pytester.makepyfile("def test_hello(): pass") |
| 200 | pytester.makeini( |
| 201 | """ |
| 202 | [pytest] |
| 203 | cache_dir = {abscache} |
| 204 | """.format( |
| 205 | abscache=external_cache |
| 206 | ) |
| 207 | ) |
| 208 | result = pytester.runpytest("-v") |
| 209 | result.stdout.fnmatch_lines([f"cachedir: {external_cache}"]) |
| 210 | |
| 211 | |
| 212 | def test_cache_show(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected