Skip to content

Commit

Permalink
Fix pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreF committed Dec 25, 2023
1 parent a2574e6 commit 0f6ba1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib/clients/03-publish-fill-inflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

from tests.paho_test import get_test_server_port, loop_until_keyboard_interrupt


def expected_payload(i: int) -> bytes:
return f"message{i}".encode("utf8")
return f"message{i}".encode()


def on_message(mqttc, obj, msg):
Expand Down
1 change: 1 addition & 0 deletions tests/lib/test_03_publish_fill_inflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import tests.paho_test as paho_test


def expected_payload(i: int) -> bytes:
return f"message{i}"

Expand Down

0 comments on commit 0f6ba1b

Please sign in to comment.