init home-assistant

This commit is contained in:
2026-11-19 15:15:32 -05:00
parent 2e81d9d300
commit feec6ef9fb
19230 changed files with 3335526 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
"""Tests for the Network Configuration integration."""
from collections.abc import Generator
from unittest.mock import _patch
import pytest
@pytest.fixture(autouse=True)
def mock_network():
"""Override mock of network util's async_get_adapters."""
@pytest.fixture(autouse=True)
def override_mock_get_source_ip(
mock_get_source_ip: _patch,
) -> Generator[None]:
"""Override mock of network util's async_get_source_ip."""
mock_get_source_ip.stop()
yield
mock_get_source_ip.start()