Skip to content

Commit 3dc310a

Browse files
committed
tests: fix test
1 parent 007bed1 commit 3dc310a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/google-auth/system_tests/system_tests_async/test_service_account.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ async def test_refresh_success(http_request, credentials, token_info):
4545

4646
assert info["email"] == credentials.service_account_email
4747
info_scopes = _helpers.string_to_scopes(info["scope"])
48-
assert set(info_scopes) == set(
48+
assert set(info_scopes).issubset(set(
4949
[
50+
"email",
51+
"profile",
5052
"https://www.googleapis.com/auth/userinfo.email",
5153
"https://www.googleapis.com/auth/userinfo.profile",
5254
]

0 commit comments

Comments
 (0)