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

Method test_pause

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

Source from the content-addressed store, hash-verified

744 client.api.logs.assert_called_with(FAKE_CONTAINER_ID)
745
746 def test_pause(self):
747 client = make_fake_client()
748 container = client.containers.get(FAKE_CONTAINER_ID)
749 container.pause()
750 client.api.pause.assert_called_with(FAKE_CONTAINER_ID)
751
752 def test_put_archive(self):
753 client = make_fake_client()

Callers

nothing calls this directly

Calls 3

make_fake_clientFunction · 0.85
getMethod · 0.45
pauseMethod · 0.45

Tested by

no test coverage detected