MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_safe_close_normal

Method test_safe_close_normal

tests/cli/test_run_command_extended.py:180–184  ·  view source on GitHub ↗

Normal close should complete without error.

(self)

Source from the content-addressed store, hash-verified

178
179 @pytest.mark.asyncio
180 async def test_safe_close_normal(self):
181 """Normal close should complete without error."""
182 tm = DummyToolManager()
183 await _safe_close(tm)
184 assert tm.closed
185
186
187# --------------------------------------------------------------------------- #

Callers

nothing calls this directly

Calls 2

_safe_closeFunction · 0.90
DummyToolManagerClass · 0.70

Tested by

no test coverage detected