Fix flaky CI from azure_event_hub (#132461)

pull/132323/head^2
epenet 2024-12-06 09:55:00 +01:00 committed by GitHub
parent 30f84f55a4
commit 4a7e6bc068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ async def test_send_batch_error(
) )
await hass.async_block_till_done() await hass.async_block_till_done()
mock_send_batch.assert_called_once() mock_send_batch.assert_called_once()
mock_send_batch.side_effect = None # Reset to avoid error in teardown
async def test_late_event( async def test_late_event(