Álvaro Fernández Rojas bf596562bf
Update aioairzone-cloud to v0.4.6 (#112198)
This adds Cloud Push related functionality.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-03-05 15:25:15 +02:00

19 lines
511 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(
"homeassistant.components.airzone_cloud.AirzoneCloudApi.connect_installation_websockets",
return_value=None,
):
yield