Skip to content

Commit 946ea0c

Browse files
committed
Adapt asserts
1 parent 1ebf930 commit 946ea0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_usb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +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-
assert stick.firmware_stick == None
464-
assert stick.hardware_stick == None
463+
assert stick.firmware_stick == dt(2011, 6, 27, 8, 47, 37, tzinfo=UTC)
464+
assert stick.hardware_stick == "653907008512"
465465
assert not stick.network_discovered
466466
assert stick.network_state
467467
assert stick.network_id == 17185

0 commit comments

Comments
 (0)