Просмотр исходного кода

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 год назад
Родитель
Сommit
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
 
 import custom_components.tuya_local as root
-from custom_components.tuya_local.helpers.device_config import (
-    TuyaDeviceConfig,
-    available_configs,
-)
 
 
 def get_translations():