Improve hass type hints for autouse fixtures in tests (#121311)
This commit is contained in:
parent
9383920b1a
commit
4b4b17e774
15 changed files with 16 additions and 15 deletions
|
@ -27,7 +27,7 @@ def stub_blueprint_populate_autouse(stub_blueprint_populate: None) -> None:
|
|||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def setup_comp(hass):
|
||||
def setup_comp(hass: HomeAssistant) -> None:
|
||||
"""Initialize components."""
|
||||
mock_component(hass, "group")
|
||||
hass.loop.run_until_complete(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue