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

Method test_update_mixed

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

Source from the content-addressed store, hash-verified

301 assert ctx.get("new_key") == "new_val"
302
303 def test_update_mixed(self):
304 ctx = ApplicationContext.create()
305 ctx.update(model="big-model", custom_flag=True)
306 assert ctx.model == "big-model"
307 assert ctx.get("custom_flag") is True
308
309
310# --------------------------------------------------------------------------- #

Callers

nothing calls this directly

Calls 3

updateMethod · 0.80
createMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected