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

Method test_remove_container

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

Source from the content-addressed store, hash-verified

1470 )
1471
1472 def test_remove_container(self):
1473 self.client.remove_container(fake_api.FAKE_CONTAINER_ID)
1474
1475 fake_request.assert_called_with(
1476 'DELETE',
1477 url_prefix + 'containers/' + fake_api.FAKE_CONTAINER_ID,
1478 params={'v': False, 'link': False, 'force': False},
1479 timeout=DEFAULT_TIMEOUT_SECONDS
1480 )
1481
1482 def test_remove_container_with_dict_instead_of_id(self):
1483 self.client.remove_container({'Id': fake_api.FAKE_CONTAINER_ID})

Callers

nothing calls this directly

Calls 1

remove_containerMethod · 0.80

Tested by

no test coverage detected