Skip to content

Commit c1c446a

Browse files
committed
test: add assertion for unknown category in HomeDataProduct test
1 parent 30d46d5 commit c1c446a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/data/test_code_mappings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def test_homedata_product_unknown_category():
9595
product = HomeDataProduct.from_dict(data)
9696
assert product.id == "unknown_cat_id"
9797
assert product.category == RoborockCategory.UNKNOWN
98+
99+
98100
def test_yx_device_state_fault_uses_error_value() -> None:
99101
"""Test YXDeviceState uses a cross-device-consistent error label."""
100102
assert YXDeviceState.FAULT_STATE.value == "error"

0 commit comments

Comments
 (0)