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

Function ctx

tests/commands/attach/test_attach_command.py:26–30  ·  view source on GitHub ↗

Mock ChatContext with a real AttachmentStaging.

()

Source from the content-addressed store, hash-verified

24
25@pytest.fixture
26def ctx():
27 """Mock ChatContext with a real AttachmentStaging."""
28 mock = MagicMock()
29 mock.attachment_staging = AttachmentStaging()
30 return mock
31
32
33# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

AttachmentStagingClass · 0.90

Tested by

no test coverage detected