fix(remote): detect Tencent public address and clarify this-server prompts
This commit is contained in:
1 parent
92b0f1d285
commit
e59c2bf79a
5 files changed
+189
-9
No files matched your search
@@ -32,4 +32,5 @@ def test_pair_suggests_existing_login_account(monkeypatch, uid, sudo_user, expec
|
||||
])
|
||||
def test_only_global_ssh_server_address_can_be_suggested(monkeypatch, connection, expected):
|
||||
monkeypatch.setenv("SSH_CONNECTION", connection)
|
||||
monkeypatch.setattr(remote, "_tencent_public_host", lambda: "")
|
||||
assert remote._default_host() == expected
|
||||
Reference in new issue
Block a user