wip
This commit is contained in:
@@ -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")]:
|
||||
|
||||
Reference in New Issue
Block a user