Clean up some fixtures not referenced within deCONZ tests (#122637)
parent
ecadf6a330
commit
047100069b
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue