Fix Google tests (#72158)

This commit is contained in:
Franck Nijhof 2022-05-19 14:11:29 +02:00 committed by GitHub
parent f7b96c87d0
commit 9d377aabdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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