mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 05:50:13 +00:00
Replace deprecated SSLContext constant PROTOCOL_TLS in mqtt (#88214)
Replace deprecated SSLContext constants
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user