hass-core/tests/components/homeassistant_sky_connect/conftest.py
Erik Montnemery bb74730e96
Add support for USB dongles to the hardware integration (#76795)
* Add support for USB dongles to the hardware integration

* Update hardware integrations

* Adjust tests

* Add USB discovery for SkyConnect 1.0

* Improve test coverage

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Fix frozen dataclass shizzle

* Adjust test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-18 21:52:12 +02:00

14 lines
321 B
Python

"""Test fixtures for the Home Assistant Sky Connect integration."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_zha():
"""Mock the zha integration."""
with patch(
"homeassistant.components.zha.async_setup_entry",
return_value=True,
):
yield