You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[IMPROVE] Add testing (and thus coverage) for USB #7
Closing plugwise/python-plugwise#28 (although complexity might still be on the table once USB parts are added, having coverage to improve on code-testing is of more importance)
I've closed plugwise/python-plugwise#124 as it will be succeeded by the full rewrite of the USB-stick into an async version in async_stick branch. I wrote some test coverage too.
I still need to find time to get it ready for some real testing....
Activity
CoMPaTech commentedon Feb 26, 2023
@brefra any progress / ideas (and/or what we can do to help)? Also plugwise/python-plugwise#124 is becoming more stale, please update accordingly
brefra commentedon Feb 28, 2023
I've closed plugwise/python-plugwise#124 as it will be succeeded by the full rewrite of the USB-stick into an async version in async_stick branch. I wrote some test coverage too.
I still need to find time to get it ready for some real testing....
ArnoutD commentedon Feb 10, 2025
The Async USB has a a coverage of 78%:
`--------- coverage: platform linux, python 3.13.2-final-0 -----------
Name Stmts Miss Cover
plugwise_usb/init.py 201 43 79%
plugwise_usb/api.py 191 0 100%
plugwise_usb/connection/init.py 109 14 87%
plugwise_usb/connection/manager.py 102 9 91%
plugwise_usb/connection/queue.py 97 15 85%
plugwise_usb/connection/receiver.py 245 30 88%
plugwise_usb/connection/sender.py 71 10 86%
plugwise_usb/constants.py 32 0 100%
plugwise_usb/exceptions.py 11 0 100%
plugwise_usb/helpers/init.py 0 0 100%
plugwise_usb/helpers/cache.py 100 8 92%
plugwise_usb/helpers/util.py 32 16 50%
plugwise_usb/messages/init.py 74 6 92%
plugwise_usb/messages/properties.py 226 30 87%
plugwise_usb/messages/requests.py 614 207 66%
plugwise_usb/messages/responses.py 482 79 84%
plugwise_usb/network/init.py 310 75 76%
plugwise_usb/network/cache.py 49 4 92%
plugwise_usb/network/registry.py 202 65 68%
plugwise_usb/nodes/init.py 24 2 92%
plugwise_usb/nodes/celsius.py 24 24 0%
plugwise_usb/nodes/circle.py 565 253 55%
plugwise_usb/nodes/circle_plus.py 53 20 62%
plugwise_usb/nodes/helpers/init.py 20 0 100%
plugwise_usb/nodes/helpers/cache.py 32 2 94%
plugwise_usb/nodes/helpers/counter.py 163 18 89%
plugwise_usb/nodes/helpers/firmware.py 14 0 100%
plugwise_usb/nodes/helpers/pulses.py 565 143 75%
plugwise_usb/nodes/helpers/subscription.py 25 0 100%
plugwise_usb/nodes/node.py 444 72 84%
plugwise_usb/nodes/scan.py 285 39 86%
plugwise_usb/nodes/sed.py 383 63 84%
plugwise_usb/nodes/sense.py 78 52 33%
plugwise_usb/nodes/stealth.py 2 0 100%
plugwise_usb/nodes/switch.py 85 25 71%
TOTAL 5910 1324 78%`