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
7 changed files with 4 additions and 7 deletions
-1
View File
@@ -571,7 +571,6 @@ async def test_scan_calendar_error(
config_entry,
) -> None:
"""Test that the calendar update handles a server error."""
config_entry.add_to_hass(hass)
mock_calendars_list({}, exc=ClientError())
assert await component_setup()