MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / MockConversation

Class MockConversation

tests/test_command_system.py:61–71  ·  view source on GitHub ↗

Mock conversation for testing.

Source from the content-addressed store, hash-verified

59
60@dataclass
61class MockConversation:
62 """Mock conversation for testing."""
63
64 messages: list = None
65
66 def __post_init__(self):
67 if self.messages is None:
68 self.messages = []
69
70 def clear(self):
71 self.messages.clear()
72
73
74class TestArgumentSubstitution(unittest.TestCase):

Callers 3

setUpMethod · 0.70
setUpMethod · 0.70
setUpMethod · 0.70

Calls

no outgoing calls

Tested by 3

setUpMethod · 0.56
setUpMethod · 0.56
setUpMethod · 0.56