Skip to content

Commit

Permalink
Indicate that get_response_ok result is immutable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 24, 2024
1 parent 0ce47bc commit 81a93f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/mock/panel.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""Mock Abode Panel Response."""

from collections.abc import Mapping
from typing import Any


def get_response_ok(
mode='standby', battery=False, is_cellular=False, mac='00:11:22:33:44:55'
):
) -> Mapping[str, Any]:
"""Return panel response json."""
return dict(
version='ABGW 0.0.2.17F ABGW-L1-XA36J 3.1.2.6.1 Z-Wave 3.95',
Expand Down

0 comments on commit 81a93f1

Please sign in to comment.