mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Fix copy-paste errors in alarm_control_panel tests (#122755)
This commit is contained in:
parent
9b497aebb4
commit
2a5cb8da32
@ -129,7 +129,7 @@ async def code_arm_required() -> bool:
|
||||
|
||||
|
||||
@pytest.fixture(name="supported_features")
|
||||
async def lock_supported_features() -> AlarmControlPanelEntityFeature:
|
||||
async def alarm_control_panel_supported_features() -> AlarmControlPanelEntityFeature:
|
||||
"""Return the supported features for the test alarm control panel entity."""
|
||||
return (
|
||||
AlarmControlPanelEntityFeature.ARM_AWAY
|
||||
@ -142,7 +142,7 @@ async def lock_supported_features() -> AlarmControlPanelEntityFeature:
|
||||
|
||||
|
||||
@pytest.fixture(name="mock_alarm_control_panel_entity")
|
||||
async def setup_lock_platform_test_entity(
|
||||
async def setup_alarm_control_panel_platform_test_entity(
|
||||
hass: HomeAssistant,
|
||||
entity_registry: er.EntityRegistry,
|
||||
code_format: CodeFormat | None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user