Przeglądaj źródła

Change missed device name in mock patching

Jason Rumney 5 lat temu
rodzic
commit
56a8985c86
1 zmienionych plików z 1 dodań i 1 usunięć
  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()