MCPcopy Create free account
hub / github.com/docker/docker-py / test_ssh_parse_hostname_only

Method test_ssh_parse_hostname_only

tests/unit/sshadapter_test.py:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21 @staticmethod
22 def test_ssh_parse_hostname_only():
23 c = SSHSocket(host="hostname")
24 assert c.host == "hostname"
25 assert c.port is None
26 assert c.user is None
27
28 @staticmethod
29 def test_ssh_parse_user_and_hostname():

Callers

nothing calls this directly

Calls 1

SSHSocketClass · 0.90

Tested by

no test coverage detected