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

Method test_get_known_attribute

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

Source from the content-addressed store, hash-verified

205
206class TestGetSet:
207 def test_get_known_attribute(self):
208 ctx = ApplicationContext.create(provider="anthropic")
209 assert ctx.get("provider") == "anthropic"
210
211 def test_get_unknown_key_returns_default(self):
212 ctx = ApplicationContext.create()

Callers

nothing calls this directly

Calls 2

createMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected