mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Clean up some fixtures not referenced within deCONZ tests (#122637)
This commit is contained in:
parent
ecadf6a330
commit
047100069b
@ -14,7 +14,6 @@ from homeassistant.core import HomeAssistant
|
|||||||
|
|
||||||
from .conftest import WebsocketDataType
|
from .conftest import WebsocketDataType
|
||||||
|
|
||||||
from tests.common import MockConfigEntry
|
|
||||||
from tests.test_util.aiohttp import AiohttpClientMocker
|
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(
|
async def test_lock_from_light(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry_setup: MockConfigEntry,
|
|
||||||
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
||||||
light_ws_data: WebsocketDataType,
|
light_ws_data: WebsocketDataType,
|
||||||
) -> None:
|
) -> None:
|
||||||
@ -100,9 +99,9 @@ async def test_lock_from_light(
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@pytest.mark.usefixtures("config_entry_setup")
|
||||||
async def test_lock_from_sensor(
|
async def test_lock_from_sensor(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry_setup: MockConfigEntry,
|
|
||||||
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
||||||
sensor_ws_data: WebsocketDataType,
|
sensor_ws_data: WebsocketDataType,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
@ -16,7 +16,6 @@ from homeassistant.core import HomeAssistant
|
|||||||
|
|
||||||
from .conftest import WebsocketDataType
|
from .conftest import WebsocketDataType
|
||||||
|
|
||||||
from tests.common import MockConfigEntry
|
|
||||||
from tests.test_util.aiohttp import AiohttpClientMocker
|
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(
|
async def test_sirens(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry_setup: MockConfigEntry,
|
|
||||||
light_ws_data: WebsocketDataType,
|
light_ws_data: WebsocketDataType,
|
||||||
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
||||||
) -> None:
|
) -> None:
|
||||||
|
@ -17,7 +17,6 @@ from homeassistant.helpers import entity_registry as er
|
|||||||
|
|
||||||
from .conftest import ConfigEntryFactoryType, WebsocketDataType
|
from .conftest import ConfigEntryFactoryType, WebsocketDataType
|
||||||
|
|
||||||
from tests.common import MockConfigEntry
|
|
||||||
from tests.test_util.aiohttp import AiohttpClientMocker
|
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(
|
async def test_power_plugs(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry_setup: MockConfigEntry,
|
|
||||||
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
mock_put_request: Callable[[str, str], AiohttpClientMocker],
|
||||||
light_ws_data: WebsocketDataType,
|
light_ws_data: WebsocketDataType,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user