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
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(