Skip to content

Fix ident

Fix ident #1120

Triggered via push March 19, 2025 14:38
Status Cancelled
Total duration 6h 2m 32s
Artifacts

verify.yml

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

Annotations

13 errors and 1 warning
Run pytest using Python 3.11
The operation was canceled.
Run pytest using Python 3.11: tests/test_usb.py#L1211
TestStick.test_pulse_collection_production assert 0 is None + where 0 = <plugwise_usb.nodes.helpers.pulses.PulseCollection object at 0x7feb80c90090>.log_interval
Run pytest using Python 3.11
Event loop is closed
Run pytest using Python 3.11
Event loop is closed
Run pytest using Python 3.11
Event loop is closed
Run pytest using Python 3.11: tests/test_usb.py#L1117
TestStick.test_pulse_collection_consumption assert (45, FakeDate...timezone.utc)) == (None, None) At index 0 diff: 45 != None Full diff: ( - None, - None, + 45, + FakeDatetime(2025, 3, 19, 15, 0, 3, tzinfo=datetime.timezone.utc), )
Run pytest using Python 3.11: tests/test_usb.py#L928
TestStick.test_energy_circle TypeError: '>' not supported between instances of 'datetime.datetime' and 'NoneType'
Run pytest using Python 3.11
The job has exceeded the maximum execution time of 6h0m0s
Run pytest using Python 3.12
The operation was canceled.
Run pytest using Python 3.12: tests/test_usb.py#L1211
TestStick.test_pulse_collection_production assert 0 is None + where 0 = <plugwise_usb.nodes.helpers.pulses.PulseCollection object at 0x7fb860ff4170>.log_interval
Run pytest using Python 3.12: tests/test_usb.py#L1117
TestStick.test_pulse_collection_consumption assert (45, FakeDate...timezone.utc)) == (None, None) At index 0 diff: 45 != None Full diff: ( - None, - None, + 45, + FakeDatetime(2025, 3, 19, 15, 0, 3, tzinfo=datetime.timezone.utc), )
Run pytest using Python 3.12: tests/test_usb.py#L928
TestStick.test_energy_circle TypeError: '>' not supported between instances of 'datetime.datetime' and 'NoneType'
Run pytest using Python 3.12
The job has exceeded the maximum execution time of 6h0m0s
Run pytest using Python 3.12: venv/lib/python3.12/site-packages/_pytest/unraisableexception.py#L85
Exception ignored in: <coroutine object StickReceiver._message_queue_worker at 0x7fb8609de4d0> Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/queues.py", line 158, 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 283, in _message_queue_worker response: PlugwiseResponse = await self._message_queue.get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/queues.py", line 160, in get getter.cancel() # Just in case getter is not done yet. ^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/base_events.py", line 799, in call_soon self._check_closed() File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/base_events.py", line 545, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed