Use built-in test helpers on 3.8 (#34901)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-30 13:29:50 -07:00
1 parent 6b16c34fd0
commit ec47216388
303 files changed
+1163 -1320

No files matched your search

@@ -1,8 +1,6 @@
"""The tests for the image_processing component."""
from unittest.mock import PropertyMock
from asynctest import patch
import homeassistant.components.http as http
import homeassistant.components.image_processing as ip
from homeassistant.const import ATTR_ENTITY_PICTURE
@@ -10,6 +8,7 @@ from homeassistant.core import callback
from homeassistant.exceptions import HomeAssistantError
from homeassistant.setup import setup_component
from tests.async_mock import patch
from tests.common import (
assert_setup_component,
get_test_home_assistant,