(self, capsys)
| 33 | assert exc.value.code == 2 |
| 34 | |
| 35 | def test_help(self, capsys): |
| 36 | with pytest.raises(SystemExit) as exc: |
| 37 | main(["--help"]) |
| 38 | assert exc.value.code == 0 |
| 39 | out = capsys.readouterr().out |
| 40 | assert "transcribe" in out |
| 41 | assert "gui" in out |
| 42 | assert "subtitle" in out |
| 43 | assert "synthesize" in out |
| 44 | assert "process" in out |
| 45 | assert "download" in out |
| 46 | assert "config" in out |
| 47 | assert "doctor" in out |
| 48 | |
| 49 | def test_gui_command_reports_missing_gui_dependencies(self, monkeypatch): |
| 50 | import builtins |