( tmp_path: Path, sub_path: Path, paste_url: str, max_byte: int | None, )
| 48 | @given(paste_url=urls, max_byte=max_bytes, sub_path=random_paths) |
| 49 | @settings(max_examples=3, suppress_health_check=[HealthCheck.function_scoped_fixture]) |
| 50 | def test_file_not_found( |
| 51 | tmp_path: Path, |
| 52 | sub_path: Path, |
| 53 | paste_url: str, |
| 54 | max_byte: int | None, |
| 55 | ) -> None: |
| 56 | missing_log = tmp_path / sub_path / 'install.log' |
| 57 | |
| 58 | with patch('archinstall.lib.log.logger._path', new=missing_log): |
| 59 | assert share_install_log(paste_url, max_byte) is None |
| 60 | |
| 61 | |
| 62 | @given(paste_url=urls, max_byte=max_bytes) |
nothing calls this directly
no test coverage detected