Files
myagents/tests/test_switch.py
T
Zhengshou Lai d99c5534cb refactor: drop workspace sync launcher path; simplify upgrade/switch
Align with xiaohe wheel/pip install: remove sync_workspace and desktop
launcher coupling from upgrade/switch flows.
2026-07-25 12:43:24 +08:00

14 lines
401 B
Python

"""Tests for myagents.commands.switch (legacy shim)."""
from click.testing import CliRunner
from myagents.commands import switch as sw_mod
class TestSwitchHelp:
def test_group_mentions_upgrade(self) -> None:
result = CliRunner().invoke(sw_mod.switch_cmd, [])
assert result.exit_code == 0
assert "xiaohe upgrade" in result.output
assert "agent" in result.output