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

Method test_stop

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

Source from the content-addressed store, hash-verified

793 client.api.stats.assert_called_with(FAKE_CONTAINER_ID)
794
795 def test_stop(self):
796 client = make_fake_client()
797 container = client.containers.get(FAKE_CONTAINER_ID)
798 container.stop()
799 client.api.stop.assert_called_with(FAKE_CONTAINER_ID)
800
801 def test_top(self):
802 client = make_fake_client()

Callers

nothing calls this directly

Calls 3

make_fake_clientFunction · 0.85
getMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected