Remove a useless line in Google Generative AI test (#120903)

pull/120945/head
tronikos 2024-07-01 08:48:39 -07:00 committed by GitHub
parent 5ce54c2174
commit 8354aa434e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -254,5 +254,4 @@ async def test_config_entry_error(
assert not await hass.config_entries.async_setup(mock_config_entry.entry_id)
await hass.async_block_till_done()
assert mock_config_entry.state == state
mock_config_entry.async_get_active_flows(hass, {"reauth"})
assert any(mock_config_entry.async_get_active_flows(hass, {"reauth"})) == reauth