Skip to content

Commit 870dfb3

Browse files
committed
Add stick-hw-fw asserts
1 parent ed8c72a commit 870dfb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_usb.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,10 @@ 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)
463+
assert stick.firmware_stick == dt(
464+
2011, 6, 27, 8, 47, 37, tzinfo=UTC
465+
)
466+
assert stick.hardware_stick == "000000730007"
465467
assert not stick.network_discovered
466468
assert stick.network_state
467469
assert stick.network_id == 17185

0 commit comments

Comments
 (0)