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

This commit is contained in:
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

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