2020-04-05 22:21:22 +00:00
|
|
|
"""Configure iCloud tests."""
|
2021-01-01 21:31:56 +00:00
|
|
|
from unittest.mock import patch
|
2020-04-05 22:21:22 +00:00
|
|
|
|
2021-01-01 21:31:56 +00:00
|
|
|
import pytest
|
2020-05-03 18:27:19 +00:00
|
|
|
|
2020-04-05 22:21:22 +00:00
|
|
|
|
|
|
|
@pytest.fixture(name="icloud_bypass_setup", autouse=True)
|
|
|
|
def icloud_bypass_setup_fixture():
|
|
|
|
"""Mock component setup."""
|
|
|
|
with patch("homeassistant.components.icloud.async_setup_entry", return_value=True):
|
|
|
|
yield
|