This commit is contained in:
2026-02-13 02:13:27 +02:00
parent 906adb539d
commit e35f9651c1
78 changed files with 200 additions and 108 deletions

View File

@@ -135,6 +135,20 @@ def test_enter_dry_run_with_user():
assert "root@personal.orb" in result.stdout
def test_enter_dry_run_shows_terminfo_hint_for_ghostty():
env = _clean_env()
env["TERM"] = "xterm-ghostty"
result = subprocess.run(
[sys.executable, "-m", "flow", "enter", "--dry-run", "personal@orb"],
capture_output=True, text=True, env=env,
)
assert result.returncode == 0
assert "flow will not install or modify terminfo" in result.stdout
assert "infocmp -x xterm-ghostty | ssh" in result.stdout
def test_aliases():
"""Test that command aliases work."""
for alias, cmd in [("dot", "dotfiles"), ("pkg", "package"), ("setup", "bootstrap")]: