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:
Teknium 2026-06-06 07:36:44 -07:00
parent 7db7a9462d
commit f2e8234307
2 changed files with 3 additions and 1 deletions

View file

@ -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",

View file

@ -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