Skip to content

Commit

Permalink
Update tests/loaders/test_mqtt.py
Browse files Browse the repository at this point in the history
Co-authored-by: Miauwkeru <Miauwkeru@users.noreply.github.com>
  • Loading branch information
cecinestpasunepipe and Miauwkeru authored Apr 15, 2024
1 parent a3ceee8 commit 86eefbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/loaders/test_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MockBroker(MagicMock):
def seek(self, *args) -> None:
self._seek = True

def read(self, *args) -> bytes:
def read(self, *args) -> MockSeekMessage | None:
if self._seek:
self._seek = False
return MockSeekMessage(data=b"010101")
Expand Down

0 comments on commit 86eefbf

Please sign in to comment.