Skip to content

Commit 82e434b

Browse files
committed
Enter real stick-response data
1 parent c3845de commit 82e434b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

tests/stick_test_data.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
b"000000C1", # Success ack
4444
b"0024" # msg_id
4545
+ b"0123456789012345" # mac
46-
+ b"22026A68" # datetime
47-
+ b"00044280" # log address 20
48-
+ b"01" # relay
49-
+ b"01" # hz
50-
+ b"000000730007" # hw_ver
46+
+ b"00000000" # datetime
47+
+ b"00000000" # log address 0
48+
+ b"00" # relay
49+
+ b"80" # hz
50+
+ b"653907008512" # hw_ver
5151
+ b"4E0843A9" # fw_ver
5252
+ b"00", # node_type (Stick)
5353
),

tests/test_usb.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,7 @@ 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 == dt(
464-
2011, 6, 27, 8, 47, 37, tzinfo=UTC
465-
)
463+
assert stick.firmware_stick == None
466464
assert stick.hardware_stick == "000000730007"
467465
assert not stick.network_discovered
468466
assert stick.network_state

0 commit comments

Comments
 (0)