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

Method test_diff

tests/unit/models_containers_test.py:674–678  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

672 assert image.id == FAKE_IMAGE_ID
673
674 def test_diff(self):
675 client = make_fake_client()
676 container = client.containers.get(FAKE_CONTAINER_ID)
677 container.diff()
678 client.api.diff.assert_called_with(FAKE_CONTAINER_ID)
679
680 def test_exec_run(self):
681 client = make_fake_client()

Callers

nothing calls this directly

Calls 3

make_fake_clientFunction · 0.85
getMethod · 0.45
diffMethod · 0.45

Tested by

no test coverage detected