Test command execution tracking.
(self)
| 55 | self.assertFalse(cmd.is_undone()) |
| 56 | |
| 57 | def test_command_execution(self): |
| 58 | """Test command execution tracking.""" |
| 59 | cmd = MockCommand() |
| 60 | self.assertTrue(cmd.execute()) |
| 61 | cmd._mark_executed() |
| 62 | self.assertTrue(cmd.is_executed()) |
| 63 | self.assertFalse(cmd.is_undone()) |
| 64 | |
| 65 | def test_command_undo(self): |
| 66 | """Test command undo tracking.""" |
nothing calls this directly
no test coverage detected