Pārlūkot izejas kodu

Fix namespace and main device class name in test helpers

The helper class also refrerences the device class, so needs
updating for the name changes compared with upstream.
Jason Rumney 5 gadi atpakaļ
vecāks
revīzija
a8b98c2a7b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      tests/helpers.py

+ 2 - 2
tests/helpers.py

@@ -1,11 +1,11 @@
 from contextlib import asynccontextmanager
 from contextlib import asynccontextmanager
 from unittest.mock import AsyncMock
 from unittest.mock import AsyncMock
 
 
-from custom_components.goldair_climate.device import GoldairTuyaDevice
+from custom_components.tuya_local.device import TuyaLocalDevice
 
 
 
 
 @asynccontextmanager
 @asynccontextmanager
-async def assert_device_properties_set(device: GoldairTuyaDevice, properties: dict):
+async def assert_device_properties_set(device: TuyaLocalDevice, properties: dict):
     results = []
     results = []
 
 
     def generate_result(*args):
     def generate_result(*args):