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

Method test_allows_extra_fields

tests/apps/test_models.py:87–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 assert "fullscreen" in ctx.available_display_modes
86
87 def test_allows_extra_fields(self):
88 ctx = HostContext(custom_field="value")
89 assert ctx.custom_field == "value" # type: ignore[attr-defined]

Callers

nothing calls this directly

Calls 1

HostContextClass · 0.90

Tested by

no test coverage detected