Clean up AVM Fritz!Box Tools unneccesary async_block_till_done call (#118165)

cleanup unneccesary async_bock_till_done calls
This commit is contained in:
Michael 2024-05-26 12:40:07 +02:00 committed by GitHub
parent 28a6f9eae7
commit 1b191230e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 6 deletions

View file

@ -71,7 +71,6 @@ async def test_buttons(
{ATTR_ENTITY_ID: entity_id},
blocking=True,
)
await hass.async_block_till_done()
mock_press_action.assert_called_once()
button = hass.states.get(entity_id)
@ -105,7 +104,6 @@ async def test_wol_button(
{ATTR_ENTITY_ID: "button.printer_wake_on_lan"},
blocking=True,
)
await hass.async_block_till_done()
mock_press_action.assert_called_once_with("AA:BB:CC:00:11:22")
button = hass.states.get("button.printer_wake_on_lan")