mirror of
https://github.com/home-assistant/core.git
synced 2025-06-05 13:47:06 +00:00
16 lines
453 B
Python
16 lines
453 B
Python
"""Tests for the Airzone integration."""
|
|
|
|
from unittest.mock import patch
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def airzone_cloud_no_websockets():
|
|
"""Fixture to completely disable Airzone Cloud WebSockets."""
|
|
with patch(
|
|
"homeassistant.components.airzone_cloud.AirzoneCloudApi._update_websockets",
|
|
return_value=False,
|
|
), patch("aioairzone_cloud.websockets.AirzoneCloudIWS.connect", return_value=True):
|
|
yield
|