(tmp_path: Path, data_dir: Path)
| 19 | |
| 20 | @pytest.fixture |
| 21 | def sample_file(tmp_path: Path, data_dir: Path) -> SampleFileFixture: |
| 22 | def fixture(source: str, destination: str) -> Path: |
| 23 | tmp_file = tmp_path / destination |
| 24 | copyfile(data_dir / source, tmp_file) |
| 25 | return tmp_file |
| 26 | |
| 27 | return fixture |
| 28 | |
| 29 | |
| 30 | @pytest.fixture |
no outgoing calls
no test coverage detected