Fix to async #1948
verify.yml
on: push
Prepare
52s
Matrix: prepare-test-cache
Matrix: pytest
Process test complexity
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Annotations
2 errors and 1 warning
|
Run pytest using Python 3.13
Process completed with exit code 1.
|
|
Run pytest using Python 3.13:
tests/test_usb.py#L794
TestStick.test_node_relay_and_power
AttributeError: 'TestStick' object has no attribute 'test_relay_state_on'. Did you mean: 'test_relay_state_off'?
|
|
Run pytest using Python 3.13:
tests/test_usb.py#L792
coroutine 'PlugwiseCircle.set_relay_lock' was never awaited
Coroutine created at (most recent call last)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/venv/lib/python3.13/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/venv/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/venv/lib/python3.13/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/venv/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/venv/lib/python3.13/site-packages/pytest_asyncio/plugin.py", line 773, in inner
_loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/base_events.py", line 2026, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/tests/test_usb.py", line 792, in test_node_relay_and_power
stick.nodes["0098765432101234"].set_relay_lock(True)
|