mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-05 07:02:05 +00:00
Refactor split smartdevice tests to test_{iot,smart}device (#822)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user