Explorar o código

Change missed device name in mock patching

Jason Rumney %!s(int64=6) %!d(string=hai) anos
pai
achega
56a8985c86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/dehumidifier/test_climate.py

+ 1 - 1
tests/dehumidifier/test_climate.py

@@ -41,7 +41,7 @@ from ..helpers import assert_device_properties_set
 
 class TestGoldairDehumidifier(IsolatedAsyncioTestCase):
     def setUp(self):
-        device_patcher = patch("custom_components.tuya_local.device.GoldairTuyaDevice")
+        device_patcher = patch("custom_components.tuya_local.device.TuyaLocalDevice")
         self.addCleanup(device_patcher.stop)
         self.mock_device = device_patcher.start()