MCPcopy
hub / github.com/saltstack/salt / __exit__

Method __exit__

tests/support/netapi.py:98–104  ·  view source on GitHub ↗
(self, *_)

Source from the content-addressed store, hash-verified

96 return self
97
98 def __exit__(self, *_):
99 self.server.stop()
100 try:
101 self.io_loop.run_sync(self.server.close_all_connections, timeout=10)
102 except IOLoopTimeoutError:
103 pass
104 self.client.client.close()
105
106
107def load_auth(client_config):

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected