File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
packages/google-cloud-data-qna
google/cloud/dataqna_v1alpha/services
auto_suggestion_service/transports
question_service/transports
tests/unit/gapic/dataqna_v1alpha Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def __init__(
9696 scopes_kwargs = self ._get_scopes_kwargs (self ._host , scopes )
9797
9898 # Save the scopes.
99- self ._scopes = scopes or self . AUTH_SCOPES
99+ self ._scopes = scopes
100100
101101 # If no credentials are provided, then determine the appropriate
102102 # defaults.
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def __init__(
100100 scopes_kwargs = self ._get_scopes_kwargs (self ._host , scopes )
101101
102102 # Save the scopes.
103- self ._scopes = scopes or self . AUTH_SCOPES
103+ self ._scopes = scopes
104104
105105 # If no credentials are provided, then determine the appropriate
106106 # defaults.
Original file line number Diff line number Diff line change @@ -915,7 +915,7 @@ def test_auto_suggestion_service_grpc_transport_client_cert_source_for_mtls(
915915 "squid.clam.whelk:443" ,
916916 credentials = cred ,
917917 credentials_file = None ,
918- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
918+ scopes = None ,
919919 ssl_credentials = mock_ssl_channel_creds ,
920920 quota_project_id = None ,
921921 options = [
@@ -1024,7 +1024,7 @@ def test_auto_suggestion_service_transport_channel_mtls_with_client_cert_source(
10241024 "mtls.squid.clam.whelk:443" ,
10251025 credentials = cred ,
10261026 credentials_file = None ,
1027- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
1027+ scopes = None ,
10281028 ssl_credentials = mock_ssl_cred ,
10291029 quota_project_id = None ,
10301030 options = [
@@ -1071,7 +1071,7 @@ def test_auto_suggestion_service_transport_channel_mtls_with_adc(transport_class
10711071 "mtls.squid.clam.whelk:443" ,
10721072 credentials = mock_cred ,
10731073 credentials_file = None ,
1074- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
1074+ scopes = None ,
10751075 ssl_credentials = mock_ssl_cred ,
10761076 quota_project_id = None ,
10771077 options = [
Original file line number Diff line number Diff line change @@ -1933,7 +1933,7 @@ def test_question_service_grpc_transport_client_cert_source_for_mtls(transport_c
19331933 "squid.clam.whelk:443" ,
19341934 credentials = cred ,
19351935 credentials_file = None ,
1936- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
1936+ scopes = None ,
19371937 ssl_credentials = mock_ssl_channel_creds ,
19381938 quota_project_id = None ,
19391939 options = [
@@ -2042,7 +2042,7 @@ def test_question_service_transport_channel_mtls_with_client_cert_source(
20422042 "mtls.squid.clam.whelk:443" ,
20432043 credentials = cred ,
20442044 credentials_file = None ,
2045- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
2045+ scopes = None ,
20462046 ssl_credentials = mock_ssl_cred ,
20472047 quota_project_id = None ,
20482048 options = [
@@ -2089,7 +2089,7 @@ def test_question_service_transport_channel_mtls_with_adc(transport_class):
20892089 "mtls.squid.clam.whelk:443" ,
20902090 credentials = mock_cred ,
20912091 credentials_file = None ,
2092- scopes = ( "https://www.googleapis.com/auth/cloud-platform" ,) ,
2092+ scopes = None ,
20932093 ssl_credentials = mock_ssl_cred ,
20942094 quota_project_id = None ,
20952095 options = [
You can’t perform that action at this time.
0 commit comments