mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Fix mfi test (#43067)
This commit is contained in:
@@ -5,6 +5,12 @@ from pytest import fixture
|
||||
from tests.async_mock import MagicMock, patch
|
||||
|
||||
|
||||
@fixture(autouse=True)
|
||||
def mock_ffmpeg(hass):
|
||||
"""Mock ffmpeg is loaded."""
|
||||
hass.config.components.add("ffmpeg")
|
||||
|
||||
|
||||
@fixture
|
||||
def canary(hass):
|
||||
"""Mock the CanaryApi for easier testing."""
|
||||
|
||||
Reference in New Issue
Block a user