core/tests/components/icloud/conftest.py

12 lines
309 B
Python

"""Configure iCloud tests."""
import pytest
from tests.async_mock import patch
@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