mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add type hints to tests (#89497)
This commit is contained in:
@@ -75,7 +75,7 @@ def test_async_add_hass_job_schedule_callback() -> None:
|
||||
assert len(hass.add_job.mock_calls) == 0
|
||||
|
||||
|
||||
def test_async_add_hass_job_coro_named(hass) -> None:
|
||||
def test_async_add_hass_job_coro_named(hass: HomeAssistant) -> None:
|
||||
"""Test that we schedule coroutines and add jobs to the job pool with a name."""
|
||||
|
||||
async def mycoro():
|
||||
|
||||
Reference in New Issue
Block a user