RedExpect.exceptions¶
- exception redexpect.exceptions.BadSudoPassword[source]¶
Bases:
redexpect.exceptions.RedExpectException
This will be raised when a password does not acquire root via sudo/su.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception redexpect.exceptions.ExpectTimeout(wait_object)[source]¶
Bases:
redexpect.exceptions.RedExpectException
This will be raised when searching for a certain string takes too long.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.