mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
test: update non-Termux workspace-scope fixtures for #38358 fix
The non-Termux web/TUI install path now scopes to --workspace <name>; update two fixtures that asserted the old unscoped install commands.
This commit is contained in:
parent
7db7a9462d
commit
f2e8234307
2 changed files with 3 additions and 1 deletions
|
|
@ -255,6 +255,8 @@ def test_make_tui_argv_keeps_desktop_workspace_install_behaviour(
|
|||
assert calls[0][0][0] == [
|
||||
"/bin/npm",
|
||||
"install",
|
||||
"--workspace",
|
||||
"ui-tui",
|
||||
"--silent",
|
||||
"--no-fund",
|
||||
"--no-audit",
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ class TestBuildWebUISkipsWhenFresh:
|
|||
|
||||
assert result is True
|
||||
args, kwargs = mock_run.call_args
|
||||
assert args[0] == ["/usr/bin/npm", "ci", "--silent"]
|
||||
assert args[0] == ["/usr/bin/npm", "ci", "--workspace", "web", "--silent"]
|
||||
assert kwargs["cwd"] == tmp_path
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue