MCPcopy Index your code
hub / github.com/docker/docker-py / test_version

Method test_version

tests/unit/api_test.py:158–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156 assert url == f"{url_base}hello/somename/world"
157
158 def test_version(self):
159 self.client.version()
160
161 fake_request.assert_called_with(
162 'GET',
163 f"{url_prefix}version",
164 timeout=DEFAULT_TIMEOUT_SECONDS
165 )
166
167 def test_version_no_api_version(self):
168 self.client.version(False)

Callers

nothing calls this directly

Calls 1

versionMethod · 0.45

Tested by

no test coverage detected