1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-14 20:41:24 +01:00
Files
core/tests/components/device_tracker/conftest.py
T

14 lines
356 B
Python

"""Test fixtures for device tracker tests."""
import pytest
@pytest.fixture
def hass_config_dir(hass_tmp_config_dir: str) -> str:
"""Use temporary config directory for device_tracker tests.
This fixture can be removed when the legacy YAML writing has been removed
from the device tracker integration.
"""
return hass_tmp_config_dir