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

Method test_list_containers

tests/unit/api_container_test.py:1098–1113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1096
1097class ContainerTest(BaseAPIClientTest):
1098 def test_list_containers(self):
1099 self.client.containers(all=True)
1100
1101 fake_request.assert_called_with(
1102 'GET',
1103 url_prefix + 'containers/json',
1104 params={
1105 'all': 1,
1106 'since': None,
1107 'size': 0,
1108 'limit': -1,
1109 'trunc_cmd': 0,
1110 'before': None
1111 },
1112 timeout=DEFAULT_TIMEOUT_SECONDS
1113 )
1114
1115 def test_resize_container(self):
1116 self.client.resize(

Callers

nothing calls this directly

Calls 1

containersMethod · 0.45

Tested by

no test coverage detected