Fix washer course enum display
This commit is contained in:
1 parent
93744e80f4
commit
f8849df8a6
12 files changed
+315
-19
No files matched your search
@@ -125,6 +125,33 @@ def test_no_catalog_carries_unresolved_core_references():
|
||||
assert unresolved == [], language
|
||||
|
||||
|
||||
def test_confirmed_korean_table_02_washer_course_names():
|
||||
states = _load('en')['entity']['select']['washer_cycle_table_02']['state']
|
||||
assert {code: states[code] for code in (
|
||||
'69', '6a', '6b', '6c', '6d', '6e', '6f', '70', '71',
|
||||
'72', '73', '74', '75', '76', '77', '78', '79', '88',
|
||||
)} == {
|
||||
'69': 'AI Wash',
|
||||
'6a': 'Wool',
|
||||
'6b': 'Denim',
|
||||
'6c': 'Blouses',
|
||||
'6d': 'Delicates',
|
||||
'6e': 'Active Wear',
|
||||
'6f': 'Bedding',
|
||||
'70': 'Towels',
|
||||
'71': 'Quick Wash',
|
||||
'72': 'Shirts',
|
||||
'73': 'Sanitize',
|
||||
'74': 'Drum Clean',
|
||||
'75': 'Outdoor',
|
||||
'76': 'Baby Care',
|
||||
'77': 'Cottons',
|
||||
'78': 'Rinse + Spin',
|
||||
'79': 'Spin Only',
|
||||
'88': 'Pet Care',
|
||||
}
|
||||
|
||||
|
||||
# The hood fan is its device's primary feature: fan.py sets _attr_name = None
|
||||
# so it presents as the device itself, and never reads a catalog name. Same
|
||||
# for the ARTIK051 air-purifier's airflow_fan (issue #56) -- ordered speed
|
||||
@@ -233,4 +260,3 @@ def test_every_kimchi_zone_supportmode_code_has_a_state_label():
|
||||
if code.lower() not in state_labels:
|
||||
missing.append((path.name, href, code))
|
||||
assert missing == []
|
||||
|
||||
Reference in new issue
Block a user