In latest version 0.3.0 we are facing an issue in expect method when self.channel.recv(self.buffer) receives multiple lines of strings at the same time. The expect will not match due to bellow piece of code where we are taking only the last line to check re.match
In latest version 0.3.0 we are facing an issue in expect method when self.channel.recv(self.buffer) receives multiple lines of strings at the same time. The expect will not match due to bellow piece of code where we are taking only the last line to check re.match
current_buffer_output_decoded = '\n' + self.current_output.splitlines()[-1]