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

Method test_set_known_attribute

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

Source from the content-addressed store, hash-verified

214 assert ctx.get("nonexistent", 42) == 42
215
216 def test_set_known_attribute(self):
217 ctx = ApplicationContext.create()
218 ctx.set("provider", "anthropic")
219 assert ctx.provider == "anthropic"
220
221 def test_set_unknown_key_stored_in_extra(self):
222 ctx = ApplicationContext.create()

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected