1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Refactor nest test_init_sdm tests to use fixtures with varied config types (#64736)

This commit is contained in:
Allen Porter
2022-01-22 20:56:03 -08:00
committed by GitHub
parent 15532c38d7
commit cdf7742c3e
7 changed files with 373 additions and 188 deletions

View File

@@ -70,7 +70,8 @@ async def test_entry_diagnostics(hass, hass_client):
async def test_setup_susbcriber_failure(hass, hass_client):
"""Test configuration error."""
config_entry = create_config_entry(hass)
config_entry = create_config_entry()
config_entry.add_to_hass(hass)
with patch(
"homeassistant.helpers.config_entry_oauth2_flow.async_get_config_entry_implementation"
), patch(