|
"""Configure iCloud tests."""
|
|
|
|
from unittest.mock import patch
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def icloud_not_create_dir():
|
|
"""Mock component setup."""
|
|
with patch(
|
|
"homeassistant.components.icloud.config_flow.os.path.exists", return_value=True
|
|
):
|
|
yield
|