Browse Source

Water heater tests: use the simpler Geyserwise config

Avoid warnings about unawaited AsyncMocks by using a simpler config for the test.
Jason Rumney 1 năm trước cách đây
mục cha
commit
998011aa80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/test_water_heater.py

+ 1 - 1
tests/test_water_heater.py

@@ -23,7 +23,7 @@ async def test_init_entry(hass):
     entry = MockConfigEntry(
     entry = MockConfigEntry(
         domain=DOMAIN,
         domain=DOMAIN,
         data={
         data={
-            CONF_TYPE: "hydrotherm_dynamic_x8_water_heater",
+            CONF_TYPE: "geyserwise_water_heater",
             CONF_DEVICE_ID: "dummy",
             CONF_DEVICE_ID: "dummy",
             CONF_PROTOCOL_VERSION: "auto",
             CONF_PROTOCOL_VERSION: "auto",
         },
         },