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

Method test_remove_link

tests/unit/api_test.py:310–318  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308 assert c.base_url == "http://hostname:1234"
309
310 def test_remove_link(self):
311 self.client.remove_container(fake_api.FAKE_CONTAINER_ID, link=True)
312
313 fake_request.assert_called_with(
314 'DELETE',
315 f"{url_prefix}containers/{fake_api.FAKE_CONTAINER_ID}",
316 params={'v': False, 'link': True, 'force': False},
317 timeout=DEFAULT_TIMEOUT_SECONDS
318 )
319
320 def test_create_host_config_secopt(self):
321 security_opt = ['apparmor:test_profile']

Callers

nothing calls this directly

Calls 1

remove_containerMethod · 0.80

Tested by

no test coverage detected