Skip to content

Commit 60682b3

Browse files
committed
remove invalid scopes check
1 parent 10ae7e4 commit 60682b3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

system_tests/system_tests_sync/test_compute_engine.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,15 @@ def check_gce_environment(http_request):
3535
pytest.skip("Compute Engine metadata service is not available.")
3636

3737

38-
def test_refresh(http_request, token_info):
38+
def test_refresh(http_request):
3939
credentials = compute_engine.Credentials()
4040

4141
credentials.refresh(http_request)
4242

4343
assert credentials.token is not None
4444
assert credentials.service_account_email is not None
4545

46-
info = token_info(credentials.token)
47-
info_scopes = _helpers.string_to_scopes(info["scope"])
4846
assert credentials.scopes is None
49-
assert len(info_scopes) == 0
5047

5148

5249
def test_default(verify_refresh):

0 commit comments

Comments
 (0)