Clean up some fixtures not referenced within deCONZ tests (#122637)

pull/122642/head
Robert Svensson 2024-07-26 11:21:48 +02:00 committed by GitHub
parent ecadf6a330
commit 047100069b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View File

@ -14,7 +14,6 @@ from homeassistant.core import HomeAssistant
from .conftest import WebsocketDataType
from tests.common import MockConfigEntry
from tests.test_util.aiohttp import AiohttpClientMocker
@ -36,9 +35,9 @@ from tests.test_util.aiohttp import AiohttpClientMocker
}
],
)
@pytest.mark.usefixtures("config_entry_setup")
async def test_lock_from_light(
hass: HomeAssistant,
config_entry_setup: MockConfigEntry,
mock_put_request: Callable[[str, str], AiohttpClientMocker],
light_ws_data: WebsocketDataType,
) -> None:
@ -100,9 +99,9 @@ async def test_lock_from_light(
}
],
)
@pytest.mark.usefixtures("config_entry_setup")
async def test_lock_from_sensor(
hass: HomeAssistant,
config_entry_setup: MockConfigEntry,
mock_put_request: Callable[[str, str], AiohttpClientMocker],
sensor_ws_data: WebsocketDataType,
) -> None:

View File

@ -16,7 +16,6 @@ from homeassistant.core import HomeAssistant
from .conftest import WebsocketDataType
from tests.common import MockConfigEntry
from tests.test_util.aiohttp import AiohttpClientMocker
@ -31,9 +30,9 @@ from tests.test_util.aiohttp import AiohttpClientMocker
}
],
)
@pytest.mark.usefixtures("config_entry_setup")
async def test_sirens(
hass: HomeAssistant,
config_entry_setup: MockConfigEntry,
light_ws_data: WebsocketDataType,
mock_put_request: Callable[[str, str], AiohttpClientMocker],
) -> None:

View File

@ -17,7 +17,6 @@ from homeassistant.helpers import entity_registry as er
from .conftest import ConfigEntryFactoryType, WebsocketDataType
from tests.common import MockConfigEntry
from tests.test_util.aiohttp import AiohttpClientMocker
@ -52,9 +51,9 @@ from tests.test_util.aiohttp import AiohttpClientMocker
}
],
)
@pytest.mark.usefixtures("config_entry_setup")
async def test_power_plugs(
hass: HomeAssistant,
config_entry_setup: MockConfigEntry,
mock_put_request: Callable[[str, str], AiohttpClientMocker],
light_ws_data: WebsocketDataType,
) -> None: