Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

0.3.0 expect match issue when channel receives multiple lines of strings at the same time. #69

Description

@vinaykumar-c

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions