mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 10:29:27 +00:00
Add missing argument type hints to component tests (#119671)
This commit is contained in:
@@ -39,7 +39,7 @@ async def webrtc_server() -> None:
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def mock_camera(hass) -> AsyncGenerator[None]:
|
||||
async def mock_camera(hass: HomeAssistant) -> AsyncGenerator[None]:
|
||||
"""Initialize a demo camera platform."""
|
||||
assert await async_setup_component(
|
||||
hass, "camera", {camera.DOMAIN: {"platform": "demo"}}
|
||||
|
||||
Reference in New Issue
Block a user