Ensure that file exists
(file_path: Path)
| 19 | |
| 20 | |
| 21 | def ensure_file(file_path: Path) -> Path: |
| 22 | """Ensure that file exists""" |
| 23 | file_path.parent.mkdir(parents=True, exist_ok=True) |
| 24 | file_path.touch(exist_ok=True) |
| 25 | return file_path |
| 26 | |
| 27 | |
| 28 | class TestCollector: |
no test coverage detected