MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / setUp

Method setUp

tests/test_undo_ui_integration.py:259–266  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

257 """Test command index jumping functionality."""
258
259 def setUp(self):
260 """Set up test fixtures."""
261 self.command_history = CommandHistory()
262
263 # Add test commands
264 for i in range(5):
265 cmd = MockCommand(f"Command {i}")
266 self.command_history.execute_command(cmd)
267
268 def test_jump_to_earlier_index(self):
269 """Test jumping to earlier index (undo operations)."""

Callers

nothing calls this directly

Calls 3

CommandHistoryClass · 0.90
MockCommandClass · 0.70
execute_commandMethod · 0.45

Tested by

no test coverage detected