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

Method test_pause_container

tests/unit/api_container_test.py:1400–1408  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1398 )
1399
1400 def test_pause_container(self):
1401 self.client.pause(fake_api.FAKE_CONTAINER_ID)
1402
1403 fake_request.assert_called_with(
1404 'POST',
1405 (url_prefix + 'containers/' +
1406 fake_api.FAKE_CONTAINER_ID + '/pause'),
1407 timeout=(DEFAULT_TIMEOUT_SECONDS)
1408 )
1409
1410 def test_unpause_container(self):
1411 self.client.unpause(fake_api.FAKE_CONTAINER_ID)

Callers

nothing calls this directly

Calls 1

pauseMethod · 0.45

Tested by

no test coverage detected