Suggestion: In case an exception is hit in check_output function, the function should print message summarizing results of all performed checks or at least exit code of tested command.
Reasoning: It is beneficial for tester to know exit code mainly in case of failure (expect pattern is not found).
Suggestion: In case an exception is hit in check_output function, the function should print message summarizing results of all performed checks or at least exit code of tested command. Reasoning: It is beneficial for tester to know exit code mainly in case of failure (expect pattern is not found).