mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Clean up unnecessary registry mocks from integration tests (#87763)
This commit is contained in:
@@ -10,7 +10,7 @@ from homeassistant.helpers import entity_registry as er
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
|
||||
from tests.common import async_fire_time_changed, mock_registry
|
||||
from tests.common import async_fire_time_changed
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -19,10 +19,10 @@ def cloud_stub():
|
||||
return Mock(is_logged_in=True, subscription_expired=False)
|
||||
|
||||
|
||||
async def test_alexa_config_expose_entity_prefs(hass, cloud_prefs, cloud_stub):
|
||||
async def test_alexa_config_expose_entity_prefs(
|
||||
hass, cloud_prefs, cloud_stub, entity_registry
|
||||
):
|
||||
"""Test Alexa config should expose using prefs."""
|
||||
entity_registry = mock_registry(hass)
|
||||
|
||||
entity_entry1 = entity_registry.async_get_or_create(
|
||||
"light",
|
||||
"test",
|
||||
|
||||
Reference in New Issue
Block a user