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

Method test_get_current_context

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

Source from the content-addressed store, hash-verified

35 assert found is True
36
37 def test_get_current_context(self):
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)

Callers

nothing calls this directly

Calls 1

get_current_contextMethod · 0.80

Tested by

no test coverage detected