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

Method test_load_image

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

Source from the content-addressed store, hash-verified

346 )
347
348 def test_load_image(self):
349 self.client.load_image('Byte Stream....')
350
351 fake_request.assert_called_with(
352 'POST',
353 f"{url_prefix}images/load",
354 data='Byte Stream....',
355 stream=True,
356 params={},
357 timeout=DEFAULT_TIMEOUT_SECONDS
358 )
359
360 def test_load_image_quiet(self):
361 self.client.load_image('Byte Stream....', quiet=True)

Callers

nothing calls this directly

Calls 1

load_imageMethod · 0.80

Tested by

no test coverage detected