MVladislav
7cc746e483
refactor: base cleanup and bring project to run with test cases
2024-12-19 20:34:09 +01:00
rparry-jones
d0eb64dc19
#126
...
- Updated protocol handlers to more reliably remove active waiters when task cancellation occurs
- Fixed checks where expecting a KeyError when it should be checking if not None
- Updated next_packet_id property to correctly check if there are any packet_ids available. Avoids infinite loop if all packet ids are used.
2023-02-27 18:52:11 +01:00
Rémi Cardona
a3f982c4d2
allow connections with username only
...
Section [MQTT-3.1.2-22] of the MQTT 3.1.1 only says that a password cannot be
given without a user. The reverse should be allowed. Fixes #79 .
2022-04-17 12:05:25 +02:00
Florian Ludwig
e1c73fc53a
update imports in tests
2021-03-27 17:49:55 +01:00
Marius Kriegerowski
7921e2cc22
linter project with black at default line length 88
2021-03-15 10:18:00 +01:00
Marius Kriegerowski
db3dffa857
use black linter with 96 char line length
2021-03-14 21:44:41 +01:00
Florian Ludwig
7c56c9caba
migrate test_client to pytest
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
e0fabc0bc3
Refactor to comply python3.8
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
aeee26f34b
Download mosquitto certificate on the fly
2021-03-01 17:40:57 +01:00
Thinh Nguyen
5a241d7739
Only setting session username/password if it is not already set. This is to prevent failures when the broker is reconnecting without username/password
2018-10-29 13:55:09 +11:00
mi3z
465b2cfc42
changed localhost to 127.0.0.1 to fix Travis CI test
2017-11-17 10:11:26 +01:00
mi3z
3fc4bb7a9e
fixed port for test_connect_ws
...
fixed port used for ws test from 8081 (which is wss) to 8080.
2017-11-09 17:32:07 +01:00
Stein Magnus Jodal
ce4824bf70
flake8: Fix all F841 unused local variable warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
559c18f681
flake8: Fix all F403, F405, F821 import warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
6435e4239c
flake8: Fix all F401 unused imports warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
df2c9b8a43
flake8: Fix all E3xx newline warnings
2017-08-07 01:23:20 +02:00
Stein Magnus Jodal
6f4b306886
flake8: Fix all E2xx whitespace warnings
2017-08-07 01:23:20 +02:00
Stein Magnus Jodal
8b1aa60587
Change deprecated assertEquals() to assertEqual()
2017-07-26 14:06:13 +02:00
Nicolas
2c1db79127
Fix #75 .
...
Reset packet_id when > 65535.
This may lead to performance problem when there are still many in-flight messages (QOS1 or QOS 2 not yet acknowledged)
2017-06-02 21:17:05 +02:00
Nicolas
d382ada36b
Update websockets, use local broker for testing
2017-06-02 16:53:58 +02:00
Nicolas
b7401443c8
Fix #40 and add test cases
2016-05-31 21:40:10 +02:00
Nico
4dcf8eb477
Revert to 3.4 coroutine syntax
2015-11-01 15:58:20 +01:00
Nico
52e3160995
#HBMQTT-35
...
Refactor yield from -> await
2015-10-16 22:13:37 +02:00
Nico
3acec1d606
Add broker test class + fixes in both client and broker connection management
2015-10-07 22:42:04 +02:00
Nico
04c0b257c4
Remove unused
2015-09-30 22:09:25 +02:00
Nico
a8b5fb221d
remove ugly print()
2015-09-29 22:05:09 +02:00
Nico
05a61581fe
add subscribe/unsubscribe tests
2015-09-27 22:07:09 +02:00
Nico
fec006d830
Add secure CA
2015-09-27 21:39:43 +02:00
Nico
92a456b789
Add client tests
2015-09-27 21:17:42 +02:00