mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +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,8 +1,8 @@
|
||||
"""Test deprecation helpers."""
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from homeassistant.helpers.deprecation import deprecated_substitute, get_deprecated
|
||||
|
||||
from tests.async_mock import MagicMock, patch
|
||||
|
||||
|
||||
class MockBaseClass:
|
||||
"""Mock base class for deprecated testing."""
|
||||
|
||||
Reference in New Issue
Block a user