1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-09 16:39:22 +00:00
core/tests/components/icloud/conftest.py

15 lines
296 B
Python

"""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