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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user