2020-04-06 00:21:22 +02:00
|
|
|
"""Configure iCloud tests."""
|
|
|
|
import pytest
|
|
|
|
|
2020-05-03 11:27:19 -07:00
|
|
|
from tests.async_mock import patch
|
|
|
|
|
2020-04-06 00:21:22 +02: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
|