Test error with command name.
(self)
| 20 | assert error.command is None |
| 21 | |
| 22 | def test_error_with_command(self): |
| 23 | """Test error with command name.""" |
| 24 | error = CommandError("Something went wrong", command="test-command") |
| 25 | assert error.message == "Something went wrong" |
| 26 | assert error.command == "test-command" |
| 27 | |
| 28 | |
| 29 | class TestInvalidParameterError: |
nothing calls this directly
no test coverage detected