Fix some flapping sonos tests (#116343)
This commit is contained in:
parent
6ccb165d8e
commit
ad0aabe9a1
2 changed files with 2 additions and 0 deletions
|
@ -47,3 +47,4 @@ async def test_subscription_repair_issues(
|
|||
sub_callback(event)
|
||||
await hass.async_block_till_done()
|
||||
assert not issue_registry.async_get_issue(DOMAIN, SUB_FAIL_ISSUE_ID)
|
||||
await hass.async_block_till_done(wait_background_tasks=True)
|
||||
|
|
|
@ -122,6 +122,7 @@ async def test_switch_attributes(
|
|||
|
||||
# Trigger subscription callback for speaker discovery
|
||||
await fire_zgs_event()
|
||||
await hass.async_block_till_done(wait_background_tasks=True)
|
||||
|
||||
status_light_state = hass.states.get(status_light.entity_id)
|
||||
assert status_light_state.state == STATE_ON
|
||||
|
|
Loading…
Add table
Reference in a new issue