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

Method setup_class

tests/integration/api_config_test.py:12–15  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

10class ConfigAPITest(BaseAPIIntegrationTest):
11 @classmethod
12 def setup_class(cls):
13 client = cls.get_client_instance()
14 force_leave_swarm(client)
15 cls._init_swarm(client)
16
17 @classmethod
18 def teardown_class(cls):

Callers

nothing calls this directly

Calls 3

force_leave_swarmFunction · 0.85
get_client_instanceMethod · 0.45
_init_swarmMethod · 0.45

Tested by

no test coverage detected