Skip to content

Commit 2c449be

Browse files
committed
Debug, full test-output
1 parent e60afeb commit 2c449be

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

tests/test_usb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ async def test_stick_connect(self, monkeypatch: pytest.MonkeyPatch) -> None:
460460
await stick.initialize()
461461
assert stick.mac_stick == "0123456789012345"
462462
assert stick.mac_coordinator == "0098765432101234"
463+
_LOGGER.debug("HOI fw_stick: %s", stick.firmware_stick)
464+
_LOGGER.debug("HOI hw_stick: %s", stick.hardware_stick)
463465
assert not stick.network_discovered
464466
assert stick.network_state
465467
assert stick.network_id == 17185

0 commit comments

Comments
 (0)