Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/docker-py
/ test_ssh_parse_url
Method
test_ssh_parse_url
tests/unit/sshadapter_test.py:15–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
14
@staticmethod
15
def
test_ssh_parse_url():
16
c = SSHSocket(host=
"user@hostname:1234"
)
17
assert c.host ==
"hostname"
18
assert c.port ==
"1234"
19
assert c.user ==
"user"
20
21
@staticmethod
22
def
test_ssh_parse_hostname_only():
Callers
nothing calls this directly
Calls
1
SSHSocket
Class · 0.90
Tested by
no test coverage detected