Skip to content

Update sense parameter handling and initialisation #2096

Update sense parameter handling and initialisation

Update sense parameter handling and initialisation #2096

Triggered via pull request June 10, 2025 07:19
@dirixmjmdirixmjm
synchronize #256
sense
Status Failure
Total duration 2m 43s
Artifacts

verify.yml

on: pull_request
Ruff check and force
10s
Ruff check and force
Check commit
43s
Check commit
Matrix: prepare-test-cache
Matrix: pytest
Process test coverage
0s
Process test coverage
Run mypy
0s
Run mypy
Process test complexity
Process test complexity
Build and publish Python 🐍 distributions 📦 to TestPyPI
Build and publish Python 🐍 distributions 📦 to TestPyPI
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Run pytest using Python 3.13
Process completed with exit code 1.
Run pytest using Python 3.13
Event loop is closed
Run pytest using Python 3.13: tests/test_usb.py#L848
TestStick.test_node_relay_and_power AttributeError: 'PlugwiseCirclePlus' object has no attribute 'humidity'
Run pytest using Python 3.13: tests/test_usb.py#L617
TestStick.test_stick_node_discovered_subscription AttributeError: 'PlugwiseScan' object has no attribute 'sense_statistics'
Run pytest using Python 3.13: venv/lib/python3.13/site-packages/_pytest/unraisableexception.py#L85
Exception ignored in: <coroutine object StickReceiver._message_queue_worker at 0x7f12c27a7c60> Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/queues.py", line 186, in get await getter GeneratorExit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/plugwise_usb/connection/receiver.py", line 284, in _message_queue_worker response: PlugwiseResponse = await self._message_queue.get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/queues.py", line 188, in get getter.cancel() # Just in case getter is not done yet. ~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/base_events.py", line 827, in call_soon self._check_closed() ~~~~~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/base_events.py", line 550, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed