mirror of
https://github.com/home-assistant/core.git
synced 2026-05-15 13:01:22 +01:00
14 lines
356 B
Python
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
|