SuccessValidator#
- class maize.utilities.validation.SuccessValidator(expect: str | list[str])[source]#
Bases:
OutputValidator
Check if an external command has succeeded by searching for strings in the output.
- Parameters:
expect – If all strings specified here are found, the command was successful
Methods
__init__
(expect)