Kaynağa Gözat

Water heater tests: use the simpler Geyserwise config

Avoid warnings about unawaited AsyncMocks by using a simpler config for the test.
Jason Rumney 1 yıl önce
ebeveyn
işleme
998011aa80
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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(
         domain=DOMAIN,
         data={
-            CONF_TYPE: "hydrotherm_dynamic_x8_water_heater",
+            CONF_TYPE: "geyserwise_water_heater",
             CONF_DEVICE_ID: "dummy",
             CONF_PROTOCOL_VERSION: "auto",
         },