Cherry pick test fix (#22939)
This commit is contained in:
parent
58ec77b017
commit
c82d2cb11c
9 changed files with 41 additions and 19 deletions
|
@ -162,7 +162,7 @@ async def test_remove_entry(hass, manager):
|
|||
"""Test that we can remove an entry."""
|
||||
async def mock_setup_entry(hass, entry):
|
||||
"""Mock setting up entry."""
|
||||
hass.loop.create_task(hass.config_entries.async_forward_entry_setup(
|
||||
hass.async_create_task(hass.config_entries.async_forward_entry_setup(
|
||||
entry, 'light'))
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue