Fix incorrect mocking in ESPHome tests (#120410)
This commit is contained in:
parent
c15718519b
commit
b5afc5a7f0
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ async def test_connection_aborted_wrong_device(
|
|||
entry.add_to_hass(hass)
|
||||
disconnect_done = hass.loop.create_future()
|
||||
|
||||
def async_disconnect(*args, **kwargs) -> None:
|
||||
async def async_disconnect(*args, **kwargs) -> None:
|
||||
disconnect_done.set_result(None)
|
||||
|
||||
mock_client.disconnect = async_disconnect
|
||||
|
|
Loading…
Add table
Reference in a new issue