Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/docker/docker-py
/ test_version
Method
test_version
tests/integration/api_client_test.py:12–15 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
10
11
class
InformationTest(BaseAPIIntegrationTest):
12
def
test_version(self):
13
res = self.client.version()
14
assert
'GoVersion'
in res
15
assert
'Version'
in res
16
17
def
test_info(self):
18
res = self.client.info()
Callers
nothing calls this directly
Calls
1
version
Method · 0.45
Tested by
no test coverage detected