Skip to content

Commit fef1287

Browse files
committed
test: update tests for --api-version removal and transcribe deprecation
- Drop --api-version from listen argument list assertions - Add --webvtt and --srt to the checked option names - Replace 'transcribe' with 'listen' in integration help-output assertions (transcribe is now hidden from dg --help)
1 parent 5bac28e commit fef1287

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/deepctl-cmd-listen/tests/unit/test_listen_command.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ def test_get_arguments(self, command):
5454
"--diarize", "--smart-format", "--punctuate",
5555
"--summarize", "--topics", "--sentiment",
5656
"--interim", "--encoding", "--sample-rate", "--channels",
57-
"--save-to", "-s", "--probe", "--no-validate", "--api-version",
57+
"--save-to", "-s", "--probe", "--no-validate",
58+
"--webvtt", "--srt",
5859
]:
5960
assert expected in option_names, f"Missing option: {expected}"
6061

tests/integration/test_nested_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_command_hierarchy_depth(self, runner):
128128
# Root level
129129
root_result = runner.invoke(deepctl_cli, ["--help"])
130130
assert "debug" in root_result.output
131-
assert "transcribe" in root_result.output
131+
assert "listen" in root_result.output
132132

133133
# Group level
134134
group_result = runner.invoke(deepctl_cli, ["debug", "--help"])
@@ -148,7 +148,7 @@ def test_plugin_discovery_integration(self, runner):
148148
expected_commands = [
149149
"login",
150150
"projects",
151-
"transcribe",
151+
"listen",
152152
"usage",
153153
"debug",
154154
]

0 commit comments

Comments
 (0)