Skip to content

Commit 10ae7e4

Browse files
committed
test for empty scopes
1 parent c4ed399 commit 10ae7e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system_tests/system_tests_sync/test_compute_engine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def test_refresh(http_request, token_info):
4545

4646
info = token_info(credentials.token)
4747
info_scopes = _helpers.string_to_scopes(info["scope"])
48-
assert set(info_scopes) == set(credentials.scopes)
48+
assert credentials.scopes is None
49+
assert len(info_scopes) == 0
4950

5051

5152
def test_default(verify_refresh):

0 commit comments

Comments
 (0)