mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Fix incorrect mocking in ESPHome tests (#120410)
This commit is contained in:
parent
c15718519b
commit
b5afc5a7f0
@ -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…
x
Reference in New Issue
Block a user