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

Method test_remove

tests/unit/models_images_test.py:153–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 client.api.history.assert_called_with(FAKE_IMAGE_ID)
152
153 def test_remove(self):
154 client = make_fake_client()
155 image = client.images.get(FAKE_IMAGE_ID)
156 image.remove()
157 client.api.remove_image.assert_called_with(
158 FAKE_IMAGE_ID,
159 force=False,
160 noprune=False,
161 )
162
163 def test_save(self):
164 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