Refactor split smartdevice tests to test_{iot,smart}device (#822)

This commit is contained in:
Teemu R
2024-03-15 16:55:48 +01:00
committed by GitHub
parent 41e58252f7
commit 48ac39e6d8
11 changed files with 425 additions and 418 deletions

View File

@@ -71,3 +71,8 @@ async def test_effects_lightstrip_set_effect_transition(
async def test_effects_lightstrip_has_effects(dev: IotLightStrip):
assert dev.has_effects is True
assert dev.effect_list
@lightstrip
def test_device_type_lightstrip(dev):
assert dev.device_type == DeviceType.LightStrip