fix: make V02 authentication failures recoverable - #124
Open
hugo-brito wants to merge 4 commits into
Open
Annotations
5 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run tests:
../../../../../opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/unittest/mock.py#L2259
coroutine 'GizwitsWebSocket._heartbeat_loop' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pytest_asyncio/plugin.py", line 905, in inner
runner.run(coro, context=context)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/runners.py", line 128, in run
return self._loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 2048, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/events.py", line 94, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/ha-bestway/ha-bestway/tests/test_websocket.py", line 278, in test_websocket_disconnect
await ws.connect()
File "/home/runner/work/ha-bestway/ha-bestway/custom_components/bestway/bestway/websocket.py", line 124, in connect
self._heartbeat_task = asyncio.create_task(self._heartbeat_loop())
|
|
Run tests:
../../../../../opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/unittest/mock.py#L2259
coroutine 'GizwitsWebSocket._listen_loop' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pytest_asyncio/plugin.py", line 905, in inner
runner.run(coro, context=context)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/runners.py", line 128, in run
return self._loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 2048, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/events.py", line 94, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/ha-bestway/ha-bestway/tests/test_websocket.py", line 278, in test_websocket_disconnect
await ws.connect()
File "/home/runner/work/ha-bestway/ha-bestway/custom_components/bestway/bestway/websocket.py", line 123, in connect
self._listen_task = asyncio.create_task(self._listen_loop())
|
|
Run tests:
../../../../../opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/unittest/mock.py#L2259
coroutine 'GizwitsWebSocket._heartbeat_loop' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pytest_asyncio/plugin.py", line 905, in inner
runner.run(coro, context=context)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/runners.py", line 128, in run
return self._loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 2048, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/events.py", line 94, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/ha-bestway/ha-bestway/tests/test_websocket.py", line 56, in test_websocket_connect_success
await ws.connect()
File "/home/runner/work/ha-bestway/ha-bestway/custom_components/bestway/bestway/websocket.py", line 124, in connect
self._heartbeat_task = asyncio.create_task(self._heartbeat_loop())
|
|
Run tests:
../../../../../opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/unittest/mock.py#L2259
coroutine 'GizwitsWebSocket._listen_loop' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/site-packages/pytest_asyncio/plugin.py", line 905, in inner
runner.run(coro, context=context)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/runners.py", line 128, in run
return self._loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/base_events.py", line 2048, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.14.6/x64/lib/python3.14/asyncio/events.py", line 94, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/ha-bestway/ha-bestway/tests/test_websocket.py", line 56, in test_websocket_connect_success
await ws.connect()
File "/home/runner/work/ha-bestway/ha-bestway/custom_components/bestway/bestway/websocket.py", line 123, in connect
self._listen_task = asyncio.create_task(self._listen_loop())
|
background
wait
wait-all
cancel
parallel
Loading