Explorar el Código

Water heater tests: use the simpler Geyserwise config

Avoid warnings about unawaited AsyncMocks by using a simpler config for the test.
Jason Rumney hace 2 años
padre
commit
998011aa80
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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",
         },