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

Method test_info

tests/integration/client_test.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 client = docker.from_env(version=TEST_API_VERSION)
13
14 def test_info(self):
15 info = self.client.info()
16 assert 'ID' in info
17 assert 'Name' in info
18
19 def test_ping(self):
20 assert self.client.ping() is True

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected