소스 검색

Change missed device name in mock patching

Jason Rumney 6 년 전
부모
커밋
56a8985c86
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()