Skip to content

Commit bb50c80

Browse files
committed
HOI debug
1 parent 80e9b66 commit bb50c80

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,8 @@ async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any
10981098
states[NodeFeature.AVAILABLE] = self.available_state
10991099
return states
11001100

1101+
_LOGGER.debug("HOI features: %s", features)
1102+
_LOGGER.debug("HOI _features: %s", self._features)
11011103
for feature in features:
11021104
if feature not in self._features:
11031105
raise NodeError(

scripts/tests_and_coverage.sh

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

2424
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "test_and_coverage" ] ; then
2525
# Python tests (rerun with debug if failures)
26-
PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing || PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
26+
# PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing ||
27+
PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
2728
fi
2829

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

0 commit comments

Comments
 (0)