Skip to content

Pytest is failing due to termios #7

@theodore86

Description

@theodore86

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.

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