-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 Not found Match with Serial (RDT-535) #226
Comments
my test is pretty simple import pytest
@pytest.mark.parametrize( 'port', ['COM11'], indirect=True,)
def test_echo_tcp(dut):
dut.write(b'ATSS=START\r\n')
dut.expect('[ATSS]:ATS', timeout=1) DUT log is like this:
|
I also tried with ubuntu, and got the same error. OS: Ubuntu 18.04 |
Could you try |
@breakersun Please try |
Thank you @hfudev dut.expect_exact works |
Describe the bug
On Windows 10
Configuration Files
pytest.ini
To Reproduce
Steps to reproduce the behavior:
pytest -v
Expected behavior
It should match the pattern in the buffer. the pattern actually in the buffer.
Dev Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: