Skip to content

Commit b6ffdd8

Browse files
committed
test(q10): add newline and ensure status state is not None in Q10PropertiesApi tests
1 parent a10a414 commit b6ffdd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/devices/traits/b01/q10/test_vacuum.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ async def test_vacuum_commands(
5555
payload_data = json.loads(message.payload.decode())
5656
assert payload_data == {"dps": expected_payload}
5757

58+
5859
def test_q10_api_has_status_trait(q10_api: Q10PropertiesApi) -> None:
5960
"""Test that Q10PropertiesApi exposes StatusTrait."""
6061
assert hasattr(q10_api, "status")
@@ -91,4 +92,4 @@ def build_q10_response(dps: dict[str, Any]) -> RoborockMessage:
9192

9293
# Verify that properties are accessible
9394
assert q10_api.status.battery == 100
94-
assert q10_api.status.state is not None
95+
assert q10_api.status.state is not None

0 commit comments

Comments
 (0)