Use builtin mock (#36473)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-06-05 10:59:55 +02:00
1 parent 874c8fea03
commit 4170eb0f83
6 files changed
+13 -13

No files matched your search

+2 -1
View File
@@ -1,12 +1,13 @@
"""Fixtures for tests."""
from mock import patch
import pytest
from homeassistant.core import HomeAssistant
from .common import ComponentFactory
from tests.async_mock import patch
@pytest.fixture()
def component_factory(hass: HomeAssistant):