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:
parent
3c1e2e17a0
commit
9c82df4b98
7 changed files with 4 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue