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

Method test_remove

tests/unit/models_containers_test.py:759–763  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

757 'path', 'foo')
758
759 def test_remove(self):
760 client = make_fake_client()
761 container = client.containers.get(FAKE_CONTAINER_ID)
762 container.remove()
763 client.api.remove_container.assert_called_with(FAKE_CONTAINER_ID)
764
765 def test_rename(self):
766 client = make_fake_client()

Callers

nothing calls this directly

Calls 3

make_fake_clientFunction · 0.85
getMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected