You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mosquitto/test
Olivier Gayot b7fb911428 tests: replace use of ssl.wrap_socket that throws warnings in Python 3.10
The function ssl.wrap_socket() is deprecated starting Python 3.7 because
it does not support hostname matching (which is considered insecure). In
Python 3.10, the function now throws warnings at runtime, which makes
Ubuntu / Debian autopkgtest fail.

The function ssl.SSLContext.wrap_socket comes in as the replacement and
has support for SNI and hostname matching.

Replaced all uses of ssl.wrap_socket() by equivalent using
ssl.SSLContext.wrap_socket().

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
4 years ago
..
broker tests: replace use of ssl.wrap_socket that throws warnings in Python 3.10 4 years ago
client Fix running of basic client tests. 5 years ago
lib tests: replace use of ssl.wrap_socket that throws warnings in Python 3.10 4 years ago
old Pointless whitespace tidy. 4 years ago
random Pointless whitespace tidy. 4 years ago
ssl Pointless whitespace tidy. 4 years ago
unit Fix mosquitto_topic_matches_sub2() not using the length parameters. 4 years ago
Makefile Pointless whitespace tidy. 4 years ago
mosq_test.py Strict protocol compliance fixes, and extensive test suite. 4 years ago
mqtt5_opts.py Tests and fixes for subscription options. 7 years ago
mqtt5_props.py Convert tests to Python 3 7 years ago
mqtt5_rc.py Disallow writing to $ topics where appropriate. 7 years ago
ptest.py Sort failed tests when reporting. 5 years ago