Improve type hints in tests (i-p) (#118380)
This commit is contained in:
parent
092cdcfe91
commit
242ee04642
18 changed files with 78 additions and 27 deletions
|
@ -61,7 +61,7 @@ EMPTY_CONFIG = logbook.CONFIG_SCHEMA({logbook.DOMAIN: {}})
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
async def hass_(recorder_mock, hass):
|
||||
async def hass_(recorder_mock: Recorder, hass: HomeAssistant) -> HomeAssistant:
|
||||
"""Set up things to be run when tests are started."""
|
||||
assert await async_setup_component(hass, logbook.DOMAIN, EMPTY_CONFIG)
|
||||
return hass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue