Fix duplicate config entry additions in tests (#107984)

zha and plex still add the same config entry multiple times
but they are going to need seperate PRs as they have more
complex logic
This commit is contained in:
J. Nick Koston 2024-01-13 16:01:18 -10:00 committed by GitHub
parent 3c1e2e17a0
commit 9c82df4b98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 7 deletions

View file

@ -26,7 +26,6 @@ async def test_wrong_login(
) -> None:
"""Test for setup failure if connection to Anova is missing."""
entry = create_entry(hass)
entry.add_to_hass(hass)
await hass.config_entries.async_setup(entry.entry_id)
assert entry.state is ConfigEntryState.SETUP_ERROR