Browse Source

tests: fix infrared expected data after proper json formatting

Jason Rumney 1 day ago
parent
commit
2c91850e24
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/test_infrared.py

+ 3 - 3
tests/test_infrared.py

@@ -122,11 +122,11 @@ async def test_async_send_command(mocker):
     async with assert_device_properties_set(
     async with assert_device_properties_set(
         device,
         device,
         {
         {
-            "201": (
-                "{'control': 'send_ir', 'type': 0, 'head': '', 'key1': '1KCOUETICMgIyAjI"
+            "201"(
+                '"control": "send_ir", "type": 0, "head": "", "key1": "1KCOUETICMgIyAjI'
                 "CMgKXBjICMgIyAjICMgIyAjICMgIyApcGMgIyAjIClwYyAjICMgIyAjIClwYyAjICMgKXBj"
                 "CMgKXBjICMgIyAjICMgIyAjICMgIyApcGMgIyAjIClwYyAjICMgIyAjIClwYyAjICMgKXBj"
                 "ICMgIyAjICMgKXBjICMgIyAjICMgKXBjIClwYyAjICMgIyAjIClwYyAjICMgKXBjIClwYyA"
                 "ICMgIyAjICMgKXBjICMgIyAjICMgKXBjIClwYyAjICMgIyAjIClwYyAjICMgKXBjIClwYyA"
-                "jICMgIyAjIClwYyApcGMgIAAA=='}"
+                'jICMgIyAjIClwYyApcGMgIAAA=="}'
             )
             )
         },
         },
     ):
     ):