1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Drop asynctest (#44746)

This commit is contained in:
Franck Nijhof
2021-01-01 22:31:56 +01:00
committed by GitHub
parent 2b0556520b
commit 65cf2fcb6f
906 changed files with 1360 additions and 1254 deletions

View File

@@ -1,4 +1,6 @@
"""Tests for Home Assistant View."""
from unittest.mock import AsyncMock, Mock
from aiohttp.web_exceptions import (
HTTPBadRequest,
HTTPInternalServerError,
@@ -13,8 +15,6 @@ from homeassistant.components.http.view import (
)
from homeassistant.exceptions import ServiceNotFound, Unauthorized
from tests.async_mock import AsyncMock, Mock
@pytest.fixture
def mock_request():