mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places * Fix broken patch in pilight
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
"""Tests for async util methods from Python source."""
|
||||
import asyncio
|
||||
from unittest import TestCase
|
||||
from unittest.mock import MagicMock, Mock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.util import async_ as hasync
|
||||
|
||||
from tests.async_mock import MagicMock, Mock, patch
|
||||
|
||||
|
||||
@patch("asyncio.coroutines.iscoroutine")
|
||||
@patch("concurrent.futures.Future")
|
||||
|
||||
Reference in New Issue
Block a user