Przeglądaj źródła

Tests: fix tests for renpho and vork purifiers after translations

Jason Rumney 1 rok temu
rodzic
commit
6a8abe1ec8

+ 1 - 1
tests/devices/test_renpho_rp_ap001s.py

@@ -50,7 +50,7 @@ class TestRenphoPurifier(
                     "name": "sensor_air_quality",
                     "dps": QUALITY_DPS,
                     "device_class": SensorDeviceClass.ENUM,
-                    "options": ["Bad", "Fair", "Good"],
+                    "options": ["poor", "moderate", "good"],
                 },
                 {
                     "name": "sensor_prefilter_life",

+ 2 - 2
tests/devices/test_vork_vk6067aw_purifier.py

@@ -65,8 +65,8 @@ class TestVorkVK6267AWPurifier(
                     "dps": AQI_DPS,
                     "name": "sensor_air_quality",
                     "device_class": SensorDeviceClass.ENUM,
-                    "testdata": ("great", "Great"),
-                    "options": ["Great", "Good", "Severe", "Medium"],
+                    "testdata": ("great", "excellent"),
+                    "options": ["excellent", "good", "severe", "poor"],
                 },
                 {
                     "dps": COUNTDOWN_DPS,