Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion kasa/tests/test_klapprotocol.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import logging
import re
import secrets
import time
from contextlib import nullcontext as does_not_raise
Expand Down Expand Up @@ -298,7 +299,7 @@ async def _return_response(url: URL, params=None, data=None, *_, **__):

with pytest.raises(
KasaException,
match="Error trying to decrypt device 127.0.0.1 response: Invalid padding bytes.",
match=re.escape("Error trying to decrypt device 127.0.0.1 response:"),
):
await transport.send(json.dumps({}))

Expand Down