mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix iCloud tests doing I/O (#33721)
This commit is contained in:
parent
5711c0882f
commit
a16e742107
11
tests/components/icloud/conftest.py
Normal file
11
tests/components/icloud/conftest.py
Normal file
@ -0,0 +1,11 @@
|
||||
"""Configure iCloud tests."""
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@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
|
Loading…
x
Reference in New Issue
Block a user