(flag: str, expected_fn: Callable[[], str], is_dir: bool)
| 53 | ], |
| 54 | ) |
| 55 | def test_basic_path_flags(flag: str, expected_fn: Callable[[], str], is_dir: bool) -> None: |
| 56 | output = _stdout_for(flag) |
| 57 | assert output == expected_fn() |
| 58 | path = Path(output) |
| 59 | assert path.exists() |
| 60 | assert path.is_dir() if is_dir else path.is_file() |
| 61 | |
| 62 | |
| 63 | def test_libdir_matches_library_parent() -> None: |
nothing calls this directly
no test coverage detected