@@ -120,7 +120,7 @@ def test_refresh_success(self, get, utcnow):
120120 assert self .credentials .expiry == (utcnow () + datetime .timedelta (seconds = 500 ))
121121
122122 # Check the credential info
123- assert self .
credentials .
service_account_email == "[email protected] " 123+ assert self .credentials .service_account_email == "default "
124124 assert self .credentials ._scopes == ["one" , "two" ]
125125
126126 # Check that the credentials are valid (have a token and are not
@@ -160,7 +160,7 @@ def test_refresh_success_with_scopes(self, get, utcnow, mock_metrics_header_valu
160160 assert self .credentials .expiry == (utcnow () + datetime .timedelta (seconds = 500 ))
161161
162162 # Check the credential info
163- assert self .
credentials .
service_account_email == "[email protected] " 163+ assert self .credentials .service_account_email == "default "
164164 assert self .credentials ._scopes == scopes
165165
166166 # Check that the credentials are valid (have a token and are not
@@ -501,7 +501,7 @@ def test_with_target_audience_integration(self):
501501 responses .add (
502502 responses .GET ,
503503 "http://metadata.google.internal/computeMetadata/v1/instance/"
504- "service-accounts/[email protected] /token" ,
504+ "service-accounts/default /token" ,
505505 status = 200 ,
506506 content_type = "application/json" ,
507507 json = {
@@ -659,7 +659,7 @@ def test_with_quota_project_integration(self):
659659 responses .add (
660660 responses .GET ,
661661 "http://metadata.google.internal/computeMetadata/v1/instance/"
662- "service-accounts/[email protected] /token" ,
662+ "service-accounts/default /token" ,
663663 status = 200 ,
664664 content_type = "application/json" ,
665665 json = {
0 commit comments