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

Method test_url_compatibility_http

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

Source from the content-addressed store, hash-verified

294 assert self._socket_path_for_client_session(c) == '/socket'
295
296 def test_url_compatibility_http(self):
297 c = APIClient(
298 base_url="http://hostname:1234",
299 version=DEFAULT_DOCKER_API_VERSION)
300
301 assert c.base_url == "http://hostname:1234"
302
303 def test_url_compatibility_tcp(self):
304 c = APIClient(

Callers

nothing calls this directly

Calls 1

APIClientClass · 0.90

Tested by

no test coverage detected