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

Method test_get_from_extra

tests/context/test_context_manager.py:226–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 assert ctx.get("custom_key") == "custom_value"
225
226 def test_get_from_extra(self):
227 ctx = ApplicationContext.create()
228 ctx.set("my_extra", 123)
229 assert ctx.get("my_extra") == 123
230
231
232# --------------------------------------------------------------------------- #

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
createMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected