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

Method test_url_compatibility_unix

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

Source from the content-addressed store, hash-verified

273 return socket_adapter.socket_path
274
275 def test_url_compatibility_unix(self):
276 c = APIClient(
277 base_url="unix://socket",
278 version=DEFAULT_DOCKER_API_VERSION)
279
280 assert self._socket_path_for_client_session(c) == '/socket'
281
282 def test_url_compatibility_unix_triple_slash(self):
283 c = APIClient(

Callers

nothing calls this directly

Calls 2

APIClientClass · 0.90

Tested by

no test coverage detected