Skip to content
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

Pytest is failing due to termios #7

Open
theodore86 opened this issue Apr 15, 2020 · 0 comments
Open

Pytest is failing due to termios #7

theodore86 opened this issue Apr 15, 2020 · 0 comments

Comments

@theodore86
Copy link

theodore86 commented Apr 15, 2020

Hi,

It seems that the commit id: 6a631f6b0f56647eb70b1c75516760f5e90a34e6 on kb_listen.py is missing from the PYPI serial_mock==0.1 causing pytest and Jenkins CI test failures.

Regarding pytest there is an workaround to use --capture=no when executing tests from your local terminal. Jenkins is using non-interactive shell causing pytest to raise the following error: ConftestImportFailure: (local('tests/serial/conftest.py'), (<class 'termios.error'>, error(25, 'Inappropriate ioctl for device'), <traceback object at 0x7f1b702815f0>)

It seems that the above/missing commit is solving those issues.

Is it possible to have it on the official bundle on PYPI?

Thanks,
Theodore G.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant