We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128e3f0 commit 830af78Copy full SHA for 830af78
tests/test_loop.py
@@ -142,7 +142,8 @@ def test_loop_basic(self) -> None:
142
time_before = time.monotonic()
143
timeout = random.randint(3, 8)
144
# pylint: disable=protected-access
145
- mqtt_client._last_msg_sent_timestamp = mqtt_client.get_monotonic_time()
+ # mqtt_client._last_msg_sent_timestamp = mqtt_client.get_monotonic_time()
146
+ mqtt_client._last_msg_sent_timestamp = time.monotonic()
147
rcs = mqtt_client.loop(timeout=timeout)
148
time_after = time.monotonic()
149
0 commit comments