mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix Google tests (#72158)
This commit is contained in:
parent
f7b96c87d0
commit
9d377aabdb
@ -99,7 +99,7 @@ async def test_full_flow_yaml_creds(
|
||||
)
|
||||
|
||||
assert result.get("type") == "create_entry"
|
||||
assert result.get("title") == "client-id"
|
||||
assert result.get("title") == "Import from configuration.yaml"
|
||||
assert "data" in result
|
||||
data = result["data"]
|
||||
assert "token" in data
|
||||
@ -161,7 +161,7 @@ async def test_full_flow_application_creds(
|
||||
)
|
||||
|
||||
assert result.get("type") == "create_entry"
|
||||
assert result.get("title") == "client-id"
|
||||
assert result.get("title") == "Import from configuration.yaml"
|
||||
assert "data" in result
|
||||
data = result["data"]
|
||||
assert "token" in data
|
||||
@ -278,7 +278,7 @@ async def test_exchange_error(
|
||||
)
|
||||
|
||||
assert result.get("type") == "create_entry"
|
||||
assert result.get("title") == "client-id"
|
||||
assert result.get("title") == "Import from configuration.yaml"
|
||||
assert "data" in result
|
||||
data = result["data"]
|
||||
assert "token" in data
|
||||
|
Loading…
x
Reference in New Issue
Block a user