Drop asynctest (#44746)
This commit is contained in:
parent
2b0556520b
commit
65cf2fcb6f
906 changed files with 1360 additions and 1254 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue