Move media_source to after_deps (#67195)
This commit is contained in:
parent
d64777359d
commit
2a8dc38d2d
5 changed files with 22 additions and 14 deletions
|
@ -12,6 +12,7 @@ from homeassistant.components.media_source.models import PlayMedia
|
|||
from homeassistant.components.motioneye.const import DOMAIN
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import device_registry as dr
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from . import (
|
||||
TEST_CAMERA_DEVICE_IDENTIFIER,
|
||||
|
@ -67,6 +68,12 @@ TEST_IMAGES = {
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def setup_media_source(hass) -> None:
|
||||
"""Set up media source."""
|
||||
assert await async_setup_component(hass, "media_source", {})
|
||||
|
||||
|
||||
async def test_async_browse_media_success(hass: HomeAssistant) -> None:
|
||||
"""Test successful browse media."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue