Fix AsyncMock imports (#129192)

This commit is contained in:
Marc Mueller
2024-10-26 01:47:27 +02:00
committed by GitHub
parent 10300cc478
commit bdfb47e999
8 changed files with 7 additions and 25 deletions
+1 -2
View File
@@ -1,7 +1,7 @@
"""AirGradient tests configuration."""
from collections.abc import Generator
from unittest.mock import patch
from unittest.mock import AsyncMock, patch
from airgradient import Config, Measures
import pytest
@@ -10,7 +10,6 @@ from homeassistant.components.airgradient.const import DOMAIN
from homeassistant.const import CONF_HOST
from tests.common import MockConfigEntry, load_fixture
from tests.components.smhi.common import AsyncMock
@pytest.fixture