Skip to content

Commit 6318b65

Browse files
committed
Fix typo in B01_Q10_DP constant from REQUETDPS to REQUEST_DPS
1 parent 68e024c commit 6318b65

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/e2e/test_device_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ async def test_q10_device(
439439
# against the golden byte stream snapshot.
440440
assert device.b01_q10_properties
441441
command = device.b01_q10_properties.command
442-
await command.send(B01_Q10_DP.REQUETDPS, params={})
442+
await command.send(B01_Q10_DP.REQUEST_DPS, params={})
443443

444444
# In the future here we can verify receiving requests from the device
445445

tests/protocols/test_b01_q10_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def test_decode_unknown_dps_code() -> None:
9494
@pytest.mark.parametrize(
9595
("command", "params"),
9696
[
97-
(B01_Q10_DP.REQUETDPS, {}),
98-
(B01_Q10_DP.REQUETDPS, None),
97+
(B01_Q10_DP.REQUEST_DPS, {}),
98+
(B01_Q10_DP.REQUEST_DPS, None),
9999
(B01_Q10_DP.START_CLEAN, {"cmd": 1}),
100100
(B01_Q10_DP.WATER_LEVEL, YXWaterLevel.MIDDLE.code),
101101
],

0 commit comments

Comments
 (0)