mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Fix tractive tests using a dict for the unique_id (#107602)
This commit is contained in:
parent
bb78b75d49
commit
ea2178a53d
@ -24,9 +24,7 @@ async def test_form(hass: HomeAssistant) -> None:
|
||||
assert result["type"] == "form"
|
||||
assert result["errors"] is None
|
||||
|
||||
with patch(
|
||||
"aiotractive.api.API.user_id", return_value={"user_id": "user_id"}
|
||||
), patch(
|
||||
with patch("aiotractive.api.API.user_id", return_value="user_id"), patch(
|
||||
"homeassistant.components.tractive.async_setup_entry",
|
||||
return_value=True,
|
||||
) as mock_setup_entry:
|
||||
|
Loading…
x
Reference in New Issue
Block a user