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

Method test_remove_image

tests/unit/api_image_test.py:116–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 )
115
116 def test_remove_image(self):
117 self.client.remove_image(fake_api.FAKE_IMAGE_ID)
118
119 fake_request.assert_called_with(
120 'DELETE',
121 f"{url_prefix}images/{fake_api.FAKE_IMAGE_ID}",
122 params={'force': False, 'noprune': False},
123 timeout=DEFAULT_TIMEOUT_SECONDS
124 )
125
126 def test_image_history(self):
127 self.client.history(fake_api.FAKE_IMAGE_NAME)

Callers

nothing calls this directly

Calls 1

remove_imageMethod · 0.80

Tested by

no test coverage detected