Skip to content

Commit decb6ce

Browse files
committed
Debug - full test-output
1 parent 5806452 commit decb6ce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugwise/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ def _all_appliances(self) -> None:
338338
self._create_gw_entities(appl)
339339

340340
if self.smile_type == "power":
341+
LOGGER.debug("HOI home-loc: %s", self._home_location)
341342
self._get_p1_smartmeter_info()
342343

343344
# Sort the gw_entities
@@ -351,6 +352,7 @@ def _get_p1_smartmeter_info(self) -> None:
351352
"""
352353
appl = Munch()
353354
loc_id = next(iter(self._loc_data.keys()))
355+
LOGGER.debug("HOI loc_id: %s", loc_id)
354356
if (
355357
location := self._domain_objects.find(f'./location[@id="{loc_id}"]')
356358
) is None:

scripts/tests_and_coverage.sh

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

4444
if [ -z "${GITHUB_ACTIONS}" ] || [ "$1" == "test_and_coverage" ] ; then
4545
# Python tests (rerun with debug if failures)
46-
PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing || PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
46+
# PYTHONPATH=$(pwd) pytest -qx tests/ --cov='.' --no-cov-on-fail --cov-report term-missing ||
47+
PYTHONPATH=$(pwd) pytest -xrpP --log-level debug tests/
4748
handle_command_error "python code testing"
4849
fi
4950

0 commit comments

Comments
 (0)