Set up test fixtures.
(self)
| 62 | cls.app = QApplication.instance() |
| 63 | |
| 64 | def setUp(self): |
| 65 | """Set up test fixtures.""" |
| 66 | self.command_history = CommandHistory() |
| 67 | |
| 68 | # Add some test commands |
| 69 | self.cmd1 = MockCommand("Create Node A") |
| 70 | self.cmd2 = MockCommand("Delete Node B") |
| 71 | self.cmd3 = MockCommand("Move Node C") |
| 72 | |
| 73 | # Execute commands to populate history |
| 74 | self.command_history.execute_command(self.cmd1) |
| 75 | self.command_history.execute_command(self.cmd2) |
| 76 | self.command_history.execute_command(self.cmd3) |
| 77 | |
| 78 | def test_dialog_initialization(self): |
| 79 | """Test dialog initializes correctly.""" |
nothing calls this directly
no test coverage detected