MCPcopy
hub / github.com/docker/docker-py / tearDown

Method tearDown

tests/integration/models_swarm_test.py:15–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 helpers.force_leave_swarm(docker.from_env(version=TEST_API_VERSION))
14
15 def tearDown(self):
16 helpers.force_leave_swarm(docker.from_env(version=TEST_API_VERSION))
17
18 def test_init_update_leave(self):
19 client = docker.from_env(version=TEST_API_VERSION)

Callers

nothing calls this directly

Calls 1

from_envMethod · 0.80

Tested by

no test coverage detected