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 f942dd4 commit c93efd9Copy full SHA for c93efd9
tests/test_loop.py
@@ -68,16 +68,18 @@ def test_loop_basic(self) -> None:
68
assert ret_code == expected_rc
69
expected_rc += 1
70
71
+ # pylint: disable=invalid-name
72
def test_loop_timeout_vs_socket_timeout(self):
73
"""
- loop() should throw MMQTTException if the timeout argument is bigger than the socket timeout.
74
+ loop() should throw MMQTTException if the timeout argument
75
+ is bigger than the socket timeout.
76
77
mqtt_client = MQTT.MQTT(
78
broker="127.0.0.1",
79
port=1883,
80
socket_pool=socket,
81
ssl_context=ssl.create_default_context(),
- socket_timeout=1
82
+ socket_timeout=1,
83
)
84
85
mqtt_client.is_connected = lambda: True
0 commit comments