mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix justnimbus CI test (#145681)
This commit is contained in:
parent
d49a613c62
commit
ec64194ab9
@ -1,6 +1,6 @@
|
||||
"""Test the JustNimbus config flow."""
|
||||
|
||||
from unittest.mock import patch
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from justnimbus.exceptions import InvalidClientID, JustNimbusError
|
||||
import pytest
|
||||
@ -132,7 +132,7 @@ async def test_reauth_flow(hass: HomeAssistant) -> None:
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.justnimbus.config_flow.justnimbus.JustNimbusClient.get_data",
|
||||
return_value=True,
|
||||
return_value=MagicMock(),
|
||||
):
|
||||
result2 = await hass.config_entries.flow.async_configure(
|
||||
result["flow_id"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user