Fix iCloud tests doing I/O (#33721)
parent
5711c0882f
commit
a16e742107
|
@ -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…
Reference in New Issue