mirror of
https://github.com/home-assistant/core.git
synced 2026-04-27 04:03:49 +01:00
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
committed by
GitHub
parent
27219b6962
commit
6bb4e7d62c
@@ -432,21 +432,27 @@ async def async_init_integration(
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_device_status",
|
||||
side_effect=mock_get_device_status,
|
||||
), patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_installation",
|
||||
return_value=GET_INSTALLATION_MOCK,
|
||||
), patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_installations",
|
||||
return_value=GET_INSTALLATIONS_MOCK,
|
||||
), patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_webserver",
|
||||
side_effect=mock_get_webserver,
|
||||
), patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.login",
|
||||
return_value=None,
|
||||
with (
|
||||
patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_device_status",
|
||||
side_effect=mock_get_device_status,
|
||||
),
|
||||
patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_installation",
|
||||
return_value=GET_INSTALLATION_MOCK,
|
||||
),
|
||||
patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_installations",
|
||||
return_value=GET_INSTALLATIONS_MOCK,
|
||||
),
|
||||
patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.api_get_webserver",
|
||||
side_effect=mock_get_webserver,
|
||||
),
|
||||
patch(
|
||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi.login",
|
||||
return_value=None,
|
||||
),
|
||||
):
|
||||
await hass.config_entries.async_setup(config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
Reference in New Issue
Block a user