Tekvel Magic
|
SCL validation result. More...
Public Member Functions | |
def | __init__ (self, validation_result_string) |
Public Attributes | |
valid | |
True if SCL-validation passed successfully, False if SCL-file fails to validate. More... | |
errors | |
List of strings, containing validation errors if valid is False , or empty list otherwise. More... | |
SCL validation result.
Wraps validation result returned by SCL.validate() into convinient object allowing to both rapidly access to boolean validation result as well as array of errors if validation fails.
Shortcut function TestEngine.log_validation_errors() can be used for logging of SCL-validation errors. See code snippet below for example usage.
def __init__ | ( | self, | |
validation_result_string | |||
) |
errors |
List of strings, containing validation errors if valid is False
, or empty list otherwise.
valid |
True
if SCL-validation passed successfully, False
if SCL-file fails to validate.