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

@ -3,12 +3,11 @@
import os
import tempfile
from typing import Tuple
from unittest.mock import MagicMock, patch
from homeassistant.components import shell_command
from homeassistant.setup import async_setup_component
from tests.async_mock import MagicMock, patch
def mock_process_creator(error: bool = False):
"""Mock a coroutine that creates a process when yielded."""