فهرست منبع

Tests: remove unused imports from translations test

This used to have old code related to checking that entities all had translations
for the config flow. But the step was removed some time ago, so this has been disabled.
After last update, we are now checking that all the strings present in English have
translations to all other languages instead.
Jason Rumney 1 سال پیش
والد
کامیت
c65bed81c0
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      tests/test_translations.py

+ 0 - 4
tests/test_translations.py

@@ -10,10 +10,6 @@ import warnings
 from homeassistant.util.json import load_json
 from homeassistant.util.json import load_json
 
 
 import custom_components.tuya_local as root
 import custom_components.tuya_local as root
-from custom_components.tuya_local.helpers.device_config import (
-    TuyaDeviceConfig,
-    available_configs,
-)
 
 
 
 
 def get_translations():
 def get_translations():