avocado.core.exceptions: Add OptionValidationError

So we can let the test runner to notify the user of
incorrect options passed in.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 43934678
......@@ -36,6 +36,14 @@ class JobError(Exception):
status = "ERROR"
class OptionValidationError(Exception):
"""
An invalid option was passed to the test runner
"""
status = "ERROR"
class TestBaseException(Exception):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册