mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 18:57:57 +00:00
15 lines
381 B
Python
15 lines
381 B
Python
"""August tests conftest."""
|
|
|
|
from unittest.mock import patch
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(name="mock_discovery", autouse=True)
|
|
def mock_discovery_fixture():
|
|
"""Mock discovery to avoid loading the whole bluetooth stack."""
|
|
with patch(
|
|
"homeassistant.components.august.data.discovery_flow.async_create_flow"
|
|
) as mock_discovery:
|
|
yield mock_discovery
|