Skip to content

The agent that grows with you

test(setup): keep the two invariant cases for the SSH port reset

teknium12906d2e67185
diff --git a/tests/hermes_cli/test_setup_terminal.py b/tests/hermes_cli/test_setup_terminal.py
index f127b7521d2..8623c27dbad 100644
--- a/tests/hermes_cli/test_setup_terminal.py
+++ b/tests/hermes_cli/test_setup_terminal.py
@@ -30,11 +30,6 @@ def test_ssh_port_reset_to_22_removes_saved_port(ssh_wizard):
assert get_env_value("TERMINAL_SSH_PORT") is None
-def test_ssh_port_22_with_nothing_saved_stays_clean(ssh_wizard):
- ssh_wizard(["host.example.com", "me", "22", "/tmp/key"])
- assert get_env_value("TERMINAL_SSH_PORT") is None
-
-
def test_ssh_port_non_default_still_saves(ssh_wizard):
# Control: the deliberate skip is only for the default; a real port persists.
ssh_wizard(["host.example.com", "me", "2222", "/tmp/key"])