MCPcopy Create free account
hub / github.com/docker/docker-py / test_save

Method test_save

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

Source from the content-addressed store, hash-verified

161 )
162
163 def test_save(self):
164 client = make_fake_client()
165 image = client.images.get(FAKE_IMAGE_ID)
166 image.save()
167 client.api.get_image.assert_called_with(
168 FAKE_IMAGE_ID, DEFAULT_DATA_CHUNK_SIZE
169 )
170
171 def test_tag(self):
172 client = make_fake_client()

Callers

nothing calls this directly

Calls 3

make_fake_clientFunction · 0.85
getMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected