Replace deprecated SSLContext constant PROTOCOL_TLS in mqtt (#88214)

Replace deprecated SSLContext constants
This commit is contained in:
Jan Bouwhuis 2023-02-16 19:01:28 +01:00 committed by GitHub
parent c79157208b
commit 57738fbb8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -1879,7 +1879,7 @@ async def test_tls_version(
await mqtt_mock_entry_with_yaml_config()
assert calls
assert calls[0][3] == ssl.PROTOCOL_TLS
assert calls[0][3] == ssl.PROTOCOL_TLS_CLIENT
@pytest.mark.parametrize(