home-assistant-core/tests/components/zeroconf/conftest.py
2021-11-18 20:23:20 -08:00

10 lines
236 B
Python

"""Tests for the Zeroconf component."""
import pytest
@pytest.fixture(autouse=True)
def zc_mock_get_source_ip(mock_get_source_ip):
"""Enable the mock_get_source_ip fixture for all zeroconf tests."""
return mock_get_source_ip