Skip to content

Commit 89e7dcd

Browse files
committed
Add stick firmware-assert
1 parent c955ca0 commit 89e7dcd

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
@@ -461,7 +461,7 @@ async def test_stick_connect(self, monkeypatch: pytest.MonkeyPatch) -> None:
461461
assert stick.mac_stick == "0123456789012345"
462462
assert stick.mac_coordinator == "0098765432101234"
463463
assert stick.firmware_stick == None
464-
assert stick.hardware_stick == "070085"
464+
assert stick.hardware_stick == None
465465
assert not stick.network_discovered
466466
assert stick.network_state
467467
assert stick.network_id == 17185
@@ -578,7 +578,9 @@ async def test_stick_node_discovered_subscription(
578578
events=(pw_api.NodeEvent.AWAKE,),
579579
)
580580

581-
#assert stick.firmware_stick == None
581+
assert stick.firmware_stick == dt(
582+
2011, 6, 27, 8, 47, 37, tzinfo=UTC
583+
)
582584
assert stick.hardware_stick == "653907008512"
583585

584586
# Inject NodeAwakeResponse message to trigger a 'node discovered' event

0 commit comments

Comments
 (0)