File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/devices/traits/b01/q10 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 44
55import pytest
66
7+ from roborock .data .b01_q10 .b01_q10_code_mappings import YXCleanType , YXFanLevel
78from roborock .devices .traits .b01 .q10 import Q10PropertiesApi
89from roborock .devices .traits .b01 .q10 .vacuum import VacuumTrait
910from tests .fixtures .channel_fixtures import FakeChannel
@@ -32,6 +33,9 @@ def vacuumm_fixture(q10_api: Q10PropertiesApi) -> VacuumTrait:
3233 (lambda x : x .resume_clean (), {"205" : {}}),
3334 (lambda x : x .stop_clean (), {"206" : {}}),
3435 (lambda x : x .return_to_dock (), {"203" : {}}),
36+ (lambda x : x .empty_dustbin (), {"203" : 2 }),
37+ (lambda x : x .set_clean_mode (YXCleanType .BOTH_WORK ), {"137" : 1 }),
38+ (lambda x : x .set_fan_level (YXFanLevel .NORMAL ), {"123" : 2 }),
3539 ],
3640)
3741async def test_vacuum_commands (
You can’t perform that action at this time.
0 commit comments