mirror of
https://github.com/home-assistant/core.git
synced 2026-05-19 23:35:20 +02:00
Add ClientSessionGenerator type hints in tests (#118377)
This commit is contained in:
@@ -16,7 +16,9 @@ from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def uploaded_file_dir(hass: HomeAssistant, hass_client) -> Path:
|
||||
async def uploaded_file_dir(
|
||||
hass: HomeAssistant, hass_client: ClientSessionGenerator
|
||||
) -> Path:
|
||||
"""Test uploading and using a file."""
|
||||
assert await async_setup_component(hass, "file_upload", {})
|
||||
client = await hass_client()
|
||||
|
||||
Reference in New Issue
Block a user