code stringlengths 3 6.57k |
|---|
ga_credentials.AnonymousCredentials() |
CloudDeployClient(transport=transport) |
test_transport_get_channel() |
ga_credentials.AnonymousCredentials() |
ga_credentials.AnonymousCredentials() |
test_transport_adc(transport_class) |
mock.patch.object(google.auth, "default") |
ga_credentials.AnonymousCredentials() |
transport_class() |
adc.assert_called_once() |
test_transport_grpc_default() |
CloudDeployClient(credentials=ga_credentials.AnonymousCredentials() |
isinstance(client.transport, transports.CloudDeployGrpcTransport,) |
test_cloud_deploy_base_transport_error() |
pytest.raises(core_exceptions.DuplicateCredentialArgs) |
ga_credentials.AnonymousCredentials() |
test_cloud_deploy_base_transport() |
ga_credentials.AnonymousCredentials() |
pytest.raises(NotImplementedError) |
getattr(transport, method) |
object() |
pytest.raises(NotImplementedError) |
transport.close() |
client (a property) |
pytest.raises(NotImplementedError) |
test_cloud_deploy_base_transport_with_credentials_file() |
ga_credentials.AnonymousCredentials() |
test_cloud_deploy_base_transport_with_adc() |
mock.patch.object(google.auth, "default", autospec=True) |
ga_credentials.AnonymousCredentials() |
transports.CloudDeployTransport() |
adc.assert_called_once() |
test_cloud_deploy_auth_adc() |
mock.patch.object(google.auth, "default", autospec=True) |
ga_credentials.AnonymousCredentials() |
CloudDeployClient() |
test_cloud_deploy_transport_auth_adc(transport_class) |
mock.patch.object(google.auth, "default", autospec=True) |
ga_credentials.AnonymousCredentials() |
transport_class(quota_project_id="octopus", scopes=["1", "2"]) |
test_cloud_deploy_transport_create_channel(transport_class, grpc_helpers) |
ga_credentials.AnonymousCredentials() |
transport_class(quota_project_id="octopus", scopes=["1", "2"]) |
test_cloud_deploy_grpc_transport_client_cert_source_for_mtls(transport_class) |
ga_credentials.AnonymousCredentials() |
mock.patch.object(transport_class, "create_channel") |
mock.Mock() |
mock.patch.object(transport_class, "create_channel", return_value=mock.Mock() |
mock.patch("grpc.ssl_channel_credentials") |
client_cert_source_callback() |
test_cloud_deploy_host_no_port() |
ga_credentials.AnonymousCredentials() |
test_cloud_deploy_host_with_port() |
ga_credentials.AnonymousCredentials() |
test_cloud_deploy_grpc_transport_channel() |
grpc.secure_channel("http://localhost/", grpc.local_channel_credentials() |
test_cloud_deploy_grpc_asyncio_transport_channel() |
aio.secure_channel("http://localhost/", grpc.local_channel_credentials() |
arguments (api_mtls_endpoint, client_cert_source) |
test_cloud_deploy_transport_channel_mtls_with_client_cert_source(transport_class) |
mock.Mock() |
mock.Mock() |
ga_credentials.AnonymousCredentials() |
pytest.warns(DeprecationWarning) |
mock.patch.object(google.auth, "default") |
adc.assert_called_once() |
arguments (api_mtls_endpoint, client_cert_source) |
test_cloud_deploy_transport_channel_mtls_with_adc(transport_class) |
mock.Mock() |
mock.Mock(return_value=None) |
mock.PropertyMock(return_value=mock_ssl_cred) |
mock.Mock() |
mock.Mock() |
pytest.warns(DeprecationWarning) |
test_cloud_deploy_grpc_lro_client() |
ga_credentials.AnonymousCredentials() |
isinstance(transport.operations_client, operations_v1.OperationsClient,) |
test_cloud_deploy_grpc_lro_async_client() |
ga_credentials.AnonymousCredentials() |
isinstance(transport.operations_client, operations_v1.OperationsAsyncClient,) |
test_build_path() |
CloudDeployClient.build_path(project, location, build) |
test_parse_build_path() |
CloudDeployClient.build_path(**expected) |
CloudDeployClient.parse_build_path(path) |
test_cluster_path() |
CloudDeployClient.cluster_path(project, location, cluster) |
test_parse_cluster_path() |
CloudDeployClient.cluster_path(**expected) |
CloudDeployClient.parse_cluster_path(path) |
test_config_path() |
CloudDeployClient.config_path(project, location) |
test_parse_config_path() |
CloudDeployClient.config_path(**expected) |
CloudDeployClient.parse_config_path(path) |
test_delivery_pipeline_path() |
test_parse_delivery_pipeline_path() |
CloudDeployClient.delivery_pipeline_path(**expected) |
CloudDeployClient.parse_delivery_pipeline_path(path) |
test_release_path() |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.