Skip to content

Test failure with websockets > 9 #62

@fabaff

Description

@fabaff

The tests don't pass with websockets-10.0:

$ poetry run pytest
ImportError while loading conftest '/home/fab/Documents/repos/pytest-sanic/tests/conftest.py'.
tests/conftest.py:7: in <module>
    from sanic.websocket import WebSocketProtocol
E   ModuleNotFoundError: No module named 'sanic.websocket'

Works fine with websockets-9.

Distributions are starting to ship websockets-10 which could lead to failures when running the tests during the package build processes.

Thanks

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