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

Method test_construction

tests/apps/test_host.py:39–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37
38class TestAppHostServerInit:
39 def test_construction(self):
40 tm = FakeToolManager()
41 host = AppHostServer(tm)
42 assert host.tool_manager is tm
43 assert host._apps == {}
44 assert host._bridges == {}
45 assert host._servers == []
46
47 def test_get_running_apps_empty(self):
48 host = AppHostServer(FakeToolManager())

Callers

nothing calls this directly

Calls 2

AppHostServerClass · 0.90
FakeToolManagerClass · 0.70

Tested by

no test coverage detected