FailValidator#
- class maize.utilities.validation.FailValidator(expect: str | list[str])[source]#
Bases:
OutputValidator
Check if an external command has failed by searching for strings in the output.
- Parameters:
expect – String or list of strings to look for in the output, any match will indicate a failure.
Methods
__init__
(expect)