(log_file: Path, paste_url: str, max_byte: int | None)
| 62 | @given(paste_url=urls, max_byte=max_bytes) |
| 63 | @settings(max_examples=3, suppress_health_check=[HealthCheck.function_scoped_fixture]) |
| 64 | def test_empty_file(log_file: Path, paste_url: str, max_byte: int | None) -> None: |
| 65 | log_file.write_bytes(b'') |
| 66 | |
| 67 | with patch('archinstall.lib.log.logger._path', new=log_file.parent): |
| 68 | # with patch('archinstall.lib.log.logger', _fake_logger(log_file)): |
| 69 | assert share_install_log(paste_url, max_byte) is None |
| 70 | |
| 71 | |
| 72 | @given(paste_url=urls, resp_url=urls, max_byte=max_bytes) |
nothing calls this directly
no test coverage detected