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

Method test_get_image

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

Source from the content-addressed store, hash-verified

336 )
337
338 def test_get_image(self):
339 self.client.get_image(fake_api.FAKE_IMAGE_ID)
340
341 fake_request.assert_called_with(
342 'GET',
343 f"{url_prefix}images/{fake_api.FAKE_IMAGE_ID}/get",
344 stream=True,
345 timeout=DEFAULT_TIMEOUT_SECONDS
346 )
347
348 def test_load_image(self):
349 self.client.load_image('Byte Stream....')

Callers

nothing calls this directly

Calls 1

get_imageMethod · 0.80

Tested by

no test coverage detected