Reduce scope of mock_network fixture

This commit is contained in:
Erik
2025-05-05 11:49:50 +02:00
parent 7faf4bfd72
commit a4bd6754df

View File

@@ -1325,7 +1325,7 @@ async def mqtt_mock_entry(
yield _setup_mqtt_entry yield _setup_mqtt_entry
@pytest.fixture(autouse=True, scope="session") @pytest.fixture(autouse=True, scope="module")
def mock_network() -> Generator[None]: def mock_network() -> Generator[None]:
"""Mock network.""" """Mock network."""
with ( with (