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

Method test_https_host

tests/unit/context_test.py:40–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 assert ContextAPI.get_current_context().Name == "default"
39
40 def test_https_host(self):
41 c = Context("test", host="tcp://testdomain:8080", tls=True)
42 assert c.Host == "https://testdomain:8080"
43
44 def test_context_inspect_without_params(self):
45 ctx = ContextAPI.inspect_context()

Callers

nothing calls this directly

Calls 1

ContextClass · 0.90

Tested by

no test coverage detected