Ensure that file exists
(file_path: Path)
| 25 | |
| 26 | |
| 27 | def ensure_file(file_path: Path) -> Path: |
| 28 | """Ensure that file exists""" |
| 29 | file_path.parent.mkdir(parents=True, exist_ok=True) |
| 30 | file_path.touch(exist_ok=True) |
| 31 | return file_path |
| 32 | |
| 33 | |
| 34 | class TestCollector: |
no test coverage detected