1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-14 12:31:04 +01:00

Fix quantum_gateway tests (#168610)

This commit is contained in:
Erik Montnemery
2026-04-20 13:37:37 +02:00
committed by GitHub
parent 9bb46494d3
commit b5caabcbae
@@ -6,6 +6,16 @@ from unittest.mock import AsyncMock, patch
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
@pytest.fixture
async def mock_scanner() -> Generator[AsyncMock]:
"""Mock QuantumGatewayScanner instance."""