Compare commits
2 Commits
869a70b621
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 32fb8d9813 | |||
| 575e2d6747 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
||||
__pycache__/
|
||||
.pytest_cache/
|
||||
*.egg-info/
|
||||
.venv/
|
||||
.venv-ci/
|
||||
build/
|
||||
|
||||
@@ -21,7 +21,7 @@ def test_validate_output_format_rejects_unknown() -> None:
|
||||
|
||||
|
||||
def test_transcriptions_returns_generated_artifact(monkeypatch, tmp_path: Path) -> None:
|
||||
def fake_run(command: list[str], check: bool, capture_output: bool, text: bool):
|
||||
def fake_run(command: list[str], check: bool, capture_output: bool, text: bool, timeout: int):
|
||||
output_dir = Path(command[command.index("--output_dir") + 1])
|
||||
(output_dir / "clip.txt").write_text("hello world", encoding="utf-8")
|
||||
|
||||
@@ -46,7 +46,7 @@ def test_transcriptions_returns_generated_artifact(monkeypatch, tmp_path: Path)
|
||||
|
||||
|
||||
def test_transcriptions_maps_subprocess_failure(monkeypatch) -> None:
|
||||
def fake_run(command: list[str], check: bool, capture_output: bool, text: bool):
|
||||
def fake_run(command: list[str], check: bool, capture_output: bool, text: bool, timeout: int):
|
||||
class Result:
|
||||
returncode = 1
|
||||
stdout = ""
|
||||
|
||||
Reference in New Issue
Block a user