Fix acmeda pytest usefixtures spelling (#135919)

pull/135405/head
Marc Mueller 2025-01-18 17:08:07 +01:00 committed by GitHub
parent 595f49ee9f
commit dedcef7230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ async def test_show_form_no_hubs(hass: HomeAssistant, mock_hub_discover) -> None
assert len(mock_hub_discover.mock_calls) == 1
@pytest.mark.usesfixtures("mock_hub_run")
@pytest.mark.usefixtures("mock_hub_run")
async def test_show_form_one_hub(hass: HomeAssistant, mock_hub_discover) -> None:
"""Test that a config is created when one hub discovered."""
@ -94,7 +94,7 @@ async def test_show_form_two_hubs(hass: HomeAssistant, mock_hub_discover) -> Non
assert len(mock_hub_discover.mock_calls) == 1
@pytest.mark.usesfixtures("mock_hub_run")
@pytest.mark.usefixtures("mock_hub_run")
async def test_create_second_entry(hass: HomeAssistant, mock_hub_discover) -> None:
"""Test that a config is created when a second hub is discovered."""

View File

@ -10,7 +10,7 @@ from homeassistant.helpers import entity_registry as er
from tests.common import MockConfigEntry
@pytest.mark.usesfixtures("mock_hub_run")
@pytest.mark.usefixtures("mock_hub_run")
async def test_cover_id_migration(
hass: HomeAssistant,
mock_config_entry: MockConfigEntry,

View File

@ -10,7 +10,7 @@ from homeassistant.helpers import entity_registry as er
from tests.common import MockConfigEntry
@pytest.mark.usesfixtures("mock_hub_run")
@pytest.mark.usefixtures("mock_hub_run")
async def test_sensor_id_migration(
hass: HomeAssistant,
mock_config_entry: MockConfigEntry,