Set up test fixtures.
(self)
| 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.""" |
nothing calls this directly
no test coverage detected