Skip to content

Commit 70f25b9

Browse files
committed
Debug logging & full test-output
1 parent 6f4964d commit 70f25b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugwise/legacy/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
FAKE_LOC,
2020
HEATER_CENTRAL_MEASUREMENTS,
2121
LIMITS,
22+
LOGGER,
2223
NONE,
2324
OFF,
2425
P1_LEGACY_MEASUREMENTS,
@@ -131,6 +132,7 @@ def _all_appliances(self) -> None:
131132
appl.zigbee_mac = None
132133
appl.vendor_name = None
133134

135+
LOGGER.debug("HOI appliance: %s", appl)
134136
# Determine class for this appliance
135137
# Skip on heater_central when no active device present or on orphaned stretch devices
136138
if not (appl := self._appliance_info_finder(appliance, appl)):

scripts/tests_and_coverage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ set +u
3131

3232
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "test_and_coverage" ] ; then
3333
# Python tests (rerun with debug if failures)
34-
PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing || PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
34+
# PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing ||
35+
PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
3536
fi
3637

3738
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "linting" ] ; then

0 commit comments

Comments
 (0)