mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Revert "Add device trackers to enabled_by_default fixture (#134446)"
This reverts commit a47fa08a9b
.
This commit is contained in:
@@ -74,15 +74,9 @@ def prevent_io() -> Generator[None]:
|
||||
@pytest.fixture
|
||||
def entity_registry_enabled_by_default() -> Generator[None]:
|
||||
"""Test fixture that ensures all entities are enabled in the registry."""
|
||||
with (
|
||||
patch(
|
||||
"homeassistant.helpers.entity.Entity.entity_registry_enabled_default",
|
||||
return_value=True,
|
||||
),
|
||||
patch(
|
||||
"homeassistant.components.device_tracker.config_entry.ScannerEntity.entity_registry_enabled_default",
|
||||
return_value=True,
|
||||
),
|
||||
with patch(
|
||||
"homeassistant.helpers.entity.Entity.entity_registry_enabled_default",
|
||||
return_value=True,
|
||||
):
|
||||
yield
|
||||
|
||||
|
Reference in New Issue
Block a user