From 830e9e45f9ad0327f11f1c76a2cfc04fd675c1e4 Mon Sep 17 00:00:00 2001 From: dzukero Date: Wed, 16 Dec 2020 19:18:15 +0000 Subject: [PATCH] Update Rfy cover test --- tests/components/rfxtrx/test_cover.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/components/rfxtrx/test_cover.py b/tests/components/rfxtrx/test_cover.py index 2a7b5f65a20..f0e846c6b3e 100644 --- a/tests/components/rfxtrx/test_cover.py +++ b/tests/components/rfxtrx/test_cover.py @@ -249,13 +249,13 @@ async def test_rfy_cover(hass, rfxtrx): assert rfxtrx.transport.send.mock_calls == [ call(bytearray(b"\x08\x1a\x00\x00\x01\x02\x03\x02\x00")), call(bytearray(b"\x08\x1a\x00\x01\x01\x02\x03\x02\x0F")), - call(bytearray(b"\x08\x1a\x00\x02\1x01\x02\x03\x02\x10")), + call(bytearray(b"\x08\x1a\x00\x02\x01\x02\x03\x02\x10")), call(bytearray(b"\x08\x1a\x00\x03\x01\x02\x03\x02\x11")), - call(bytearray(b"\x08\x1a\x00\x04\1x01\x02\x03\x02\x12")), + call(bytearray(b"\x08\x1a\x00\x04\x01\x02\x03\x02\x12")), ] # Test a blind with venetian mode set to EU - state = hass.states.get("cover.rfy_010203_2") + state = hass.states.get("cover.rfy_010203_3") assert state rfxtrx.transport.send.mock_calls = [] @@ -297,7 +297,7 @@ async def test_rfy_cover(hass, rfxtrx): assert rfxtrx.transport.send.mock_calls == [ call(bytearray(b"\x08\x1a\x00\x00\x01\x02\x03\x03\x00")), call(bytearray(b"\x08\x1a\x00\x01\x01\x02\x03\x03\x11")), - call(bytearray(b"\x08\x1a\x00\x02\1x01\x02\x03\x03\x12")), + call(bytearray(b"\x08\x1a\x00\x02\x01\x02\x03\x03\x12")), call(bytearray(b"\x08\x1a\x00\x03\x01\x02\x03\x03\x0F")), - call(bytearray(b"\x08\x1a\x00\x04\1x01\x02\x03\x03\x10")), - ] \ No newline at end of file + call(bytearray(b"\x08\x1a\x00\x04\x01\x02\x03\x03\x10")), + ]