1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 06:28:31 +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 @@
"""The tests for an update of the Twitch component."""
from unittest.mock import MagicMock, patch
from requests import HTTPError
from twitch.resources import Channel, Follow, Stream, Subscription, User
@@ -6,8 +8,6 @@ from homeassistant.components import sensor
from homeassistant.const import CONF_CLIENT_ID
from homeassistant.setup import async_setup_component
from tests.async_mock import MagicMock, patch
ENTITY_ID = "sensor.channel123"
CONFIG = {
sensor.DOMAIN: {