mirror of
https://github.com/elisspace/core.git
synced 2026-10-05 00:36:19 +00:00
Fix Ruckus Unleashed SSH connection failures (#75032)
This commit is contained in:
committed by
Paulus Schoutsen
parent
bdc4171e37
commit
620d2ed8fd
@@ -31,7 +31,7 @@ async def test_setup_entry_login_error(hass):
|
||||
"""Test entry setup failed due to login error."""
|
||||
entry = mock_config_entry()
|
||||
with patch(
|
||||
"homeassistant.components.ruckus_unleashed.Ruckus",
|
||||
"homeassistant.components.ruckus_unleashed.Ruckus.connect",
|
||||
side_effect=AuthenticationError,
|
||||
):
|
||||
entry.add_to_hass(hass)
|
||||
@@ -45,7 +45,7 @@ async def test_setup_entry_connection_error(hass):
|
||||
"""Test entry setup failed due to connection error."""
|
||||
entry = mock_config_entry()
|
||||
with patch(
|
||||
"homeassistant.components.ruckus_unleashed.Ruckus",
|
||||
"homeassistant.components.ruckus_unleashed.Ruckus.connect",
|
||||
side_effect=ConnectionError,
|
||||
):
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
Reference in New Issue
Block a user