Skip to content

Commit

Permalink
Merge branch 'filter_change_date'
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed Mar 11, 2024
2 parents cbd46df + 874ca6c commit 195f8fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -29,7 +29,7 @@ include_package_data = True
packages = find:
python_requires = >=3.9.0, <4
install_requires =
websockets >= 9.1, < 12.0
websockets >= 9.1
construct >= 2.9.0, < 3.0.0
aiohttp >= 3.7.0, < 4.0.0
tests_require =
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
@@ -1,7 +1,7 @@
from unittest.mock import AsyncMock, patch

import pytest
from websockets.legacy.protocol import WebSocketCommonProtocol
from websockets.client import WebSocketClientProtocol

from vallox_websocket_api import Client, Vallox

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

yield protocol_mock.return_value
2 changes: 1 addition & 1 deletion vallox_websocket_api/__init__.py
Expand Up @@ -20,4 +20,4 @@
"ValloxWebsocketException",
]

__version__ = "5.1.0"
__version__ = "5.1.1"

0 comments on commit 195f8fa

Please sign in to comment.