15 lines
376 B
Python
15 lines
376 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.discovery_flow.async_create_flow"
|
|
) as mock_discovery:
|
|
yield mock_discovery
|