Skip to content

Commit c2962e9

Browse files
committed
CR: nitpick on naming/typedef
1 parent 1bce8c7 commit c2962e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_usb.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ def dummy_method() -> None:
250250

251251
return dummy_method
252252

253-
def append_response(self, send_response) -> None:
253+
def append_response(self, response) -> None:
254254
"""Add response to queue."""
255-
self.send_response.append(send_response)
255+
self.send_response.append(response)
256256

257257
def clear_responses(self) -> None:
258258
"""Clear response queue."""
@@ -2420,7 +2420,9 @@ def fake_cache_bool(dummy: object, setting: str) -> bool | None:
24202420
construct_message(b"004F555555555555555500", b"FFFE")
24212421
)
24222422

2423-
async def run_awake_with_response(responses):
2423+
async def run_awake_with_response(
2424+
responses: list[pw_responses.PlugwiseResponse],
2425+
):
24242426
"""Wake node up and run tasks."""
24252427
mock_stick_controller.clear_responses()
24262428
for r in responses:

0 commit comments

Comments
 (0)