Skip to content

Commit

Permalink
Fixed tox validation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karel Hovorka committed May 12, 2024
1 parent 521d50a commit 8457649
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ async def test_websocket_communicator():
@pytest.mark.asyncio
async def test_websocket_incorrect_read_json():
"""
When using an invalid communicator method, as assertion error will be raised with informative message.
In this test, server accepts and then immediately closes the connection so the server is not in valid state
to handle "receive_from".
When using an invalid communicator method, an assertion error will be raised with
informative message.
In this test, the server accepts and then immediately closes the connection so
the server is not in a valid state to handle "receive_from".
"""
communicator = WebsocketCommunicator(AcceptCloseWebsocketApp(), "/testws/")
await communicator.connect()
Expand Down

0 comments on commit 8457649

Please sign in to comment.