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

Method setUp

tests/test_command_system.py:220–233  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

218 """Tests for built-in commands."""
219
220 def setUp(self):
221 """Set up test fixtures."""
222 self.tmpdir = tempfile.TemporaryDirectory()
223 self.workspace_root = Path(self.tmpdir.name).resolve()
224 self.conversation = MockConversation()
225 self.cost_tracker = CostTracker()
226 self.history = HistoryLog()
227
228 self.context = create_command_context(
229 workspace_root=self.workspace_root,
230 conversation=self.conversation,
231 cost_tracker=self.cost_tracker,
232 history=self.history,
233 )
234
235 def tearDown(self):
236 """Clean up test fixtures."""

Callers

nothing calls this directly

Calls 4

CostTrackerClass · 0.90
HistoryLogClass · 0.90
create_command_contextFunction · 0.90
MockConversationClass · 0.70

Tested by

no test coverage detected