Test basic error with just message.
(self)
| 13 | """Test CommandError base exception.""" |
| 14 | |
| 15 | def test_basic_error(self): |
| 16 | """Test basic error with just message.""" |
| 17 | error = CommandError("Something went wrong") |
| 18 | assert str(error) == "Something went wrong" |
| 19 | assert error.message == "Something went wrong" |
| 20 | assert error.command is None |
| 21 | |
| 22 | def test_error_with_command(self): |
| 23 | """Test error with command name.""" |
nothing calls this directly
no test coverage detected