Tweak response of /api/cloud/login (#92058)

This commit is contained in:
Erik Montnemery 2023-04-26 15:28:08 +02:00 committed by GitHub
parent 565b26e884
commit 904ce226fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -129,7 +129,7 @@ async def test_login_view(hass: HomeAssistant, cloud_client) -> None:
assert req.status == HTTPStatus.OK
result = await req.json()
assert result == {"success": True, "cloud_pipeline": "12345"}
assert result == {"success": True, "cloud_pipeline": None}
create_pipeline_mock.assert_not_awaited()