Skip to content

Commit ee32e5e

Browse files
committed
cleaned up test_loop
1 parent 89bd1e1 commit ee32e5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_loop.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ def test_loop_ping_timeout(self):
223223
res = mqtt_client.loop(timeout=2 * keep_alive_timeout + recv_timeout)
224224
assert time.monotonic() - start >= 2 * keep_alive_timeout
225225
assert len(mocket.sent) > 0
226-
# assert len(res) == 2
227-
assert len(res) == 3 # not sure if 3 is ok
226+
assert len(res) == 3
228227
assert set(res) == {int(0xD0)}
229228

230229
# pylint: disable=no-self-use

0 commit comments

Comments
 (0)