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

Method test_load

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

Source from the content-addressed store, hash-verified

38 assert images[0].id == FAKE_IMAGE_ID
39
40 def test_load(self):
41 client = make_fake_client()
42 client.images.load('byte stream')
43 client.api.load_image.assert_called_with('byte stream')
44
45 def test_pull(self):
46 client = make_fake_client()

Callers

nothing calls this directly

Calls 2

make_fake_clientFunction · 0.85
loadMethod · 0.80

Tested by

no test coverage detected