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

Method setup_class

tests/integration/api_service_test.py:14–17  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

12class ServiceTest(BaseAPIIntegrationTest):
13 @classmethod
14 def setup_class(cls):
15 client = cls.get_client_instance()
16 force_leave_swarm(client)
17 cls._init_swarm(client)
18
19 @classmethod
20 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