Skip to content

Commit 195f8fa

Browse files
committed
Merge branch 'filter_change_date'
2 parents cbd46df + 874ca6c commit 195f8fa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ include_package_data = True
2929
packages = find:
3030
python_requires = >=3.9.0, <4
3131
install_requires =
32-
websockets >= 9.1, < 12.0
32+
websockets >= 9.1
3333
construct >= 2.9.0, < 3.0.0
3434
aiohttp >= 3.7.0, < 4.0.0
3535
tests_require =

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from unittest.mock import AsyncMock, patch
22

33
import pytest
4-
from websockets.legacy.protocol import WebSocketCommonProtocol
4+
from websockets.client import WebSocketClientProtocol
55

66
from vallox_websocket_api import Client, Vallox
77

@@ -25,7 +25,7 @@ async def vallox():
2525
@pytest.fixture
2626
def ws():
2727
with patch("websockets.client.connect") as connect:
28-
protocol_mock = AsyncMock(spec=WebSocketCommonProtocol)
28+
protocol_mock = AsyncMock(spec=WebSocketClientProtocol)
2929
connect.return_value.__aenter__.side_effect = protocol_mock
3030

3131
yield protocol_mock.return_value

vallox_websocket_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
"ValloxWebsocketException",
2121
]
2222

23-
__version__ = "5.1.0"
23+
__version__ = "5.1.1"

0 commit comments

Comments
 (0)