File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,6 +398,9 @@ jobs:
398398 - name : Test ACP handshakes and bundled launchers
399399 run : uv run --frozen --python 3.13 --no-sync pytest tests/integration/test_acp_stdio_smoke.py -m integration -q -n 0 --tb=short
400400
401+ - name : Test the registered launcher command
402+ run : uv run --frozen --python 3.13 --no-sync pytest tests/test_cli_agents_commands.py::test_register_pins_the_resolved_row_into_the_host_roster -q -n 0 --tb=short
403+
401404 core-wheel :
402405 name : kernel wheel smoke
403406 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -236,12 +236,16 @@ def test_register_pins_the_resolved_row_into_the_host_roster(raven_home: Path) -
236236
237237 assert r .exit_code == 0 , r .output
238238 from raven .config .update_subagents import get_agents
239+ from raven .utils .commands import command_argv
239240
240241 rows = {row ["name" ]: row for row in get_agents (config_path = raven_home / "config.json" )}
241242 row = rows ["Demo-Agent" ]
242243 target = raven_home / "agents" / "demo-agent"
243244 assert "{PYTHON}" not in row ["command" ] and "{SUBAGENT_DIR}" not in row ["command" ]
244- assert row ["command" ].startswith (sys .executable )
245+ argv = command_argv (row ["command" ])
246+ assert argv [0 ] == sys .executable
247+ assert Path (argv [1 ]) == target / "run.py"
248+ assert argv [2 :] == ["--acp" ]
245249 assert row ["cwd" ] == str (target )
246250
247251
You can’t perform that action at this time.
0 commit comments