code stringlengths 3 6.57k |
|---|
pytest.raises(ValueError) |
cloud_deploy.GetDeliveryPipelineRequest() |
test_create_delivery_pipeline(request_type, transport: str = "grpc") |
ga_credentials.AnonymousCredentials() |
request_type() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/spam") |
client.create_delivery_pipeline(request) |
len(call.mock_calls) |
cloud_deploy.CreateDeliveryPipelineRequest() |
isinstance(response, future.Future) |
test_create_delivery_pipeline_empty_call() |
ga_credentials.AnonymousCredentials() |
type(client.transport.create_delivery_pipeline) |
client.create_delivery_pipeline() |
call.assert_called() |
cloud_deploy.CreateDeliveryPipelineRequest() |
ga_credentials.AnonymousCredentials() |
request_type() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/spam") |
client.create_delivery_pipeline(request) |
len(call.mock_calls) |
cloud_deploy.CreateDeliveryPipelineRequest() |
isinstance(response, future.Future) |
test_create_delivery_pipeline_async_from_dict() |
test_create_delivery_pipeline_async(request_type=dict) |
test_create_delivery_pipeline_field_headers() |
CloudDeployClient(credentials=ga_credentials.AnonymousCredentials() |
cloud_deploy.CreateDeliveryPipelineRequest() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/op") |
client.create_delivery_pipeline(request) |
len(call.mock_calls) |
assert ("x-goog-request-params", "parent=parent/value",) |
test_create_delivery_pipeline_field_headers_async() |
CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials() |
cloud_deploy.CreateDeliveryPipelineRequest() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/op") |
client.create_delivery_pipeline(request) |
len(call.mock_calls) |
assert ("x-goog-request-params", "parent=parent/value",) |
test_create_delivery_pipeline_flattened() |
CloudDeployClient(credentials=ga_credentials.AnonymousCredentials() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/op") |
cloud_deploy.DeliveryPipeline(name="name_value") |
len(call.mock_calls) |
cloud_deploy.DeliveryPipeline(name="name_value") |
test_create_delivery_pipeline_flattened_error() |
CloudDeployClient(credentials=ga_credentials.AnonymousCredentials() |
pytest.raises(ValueError) |
cloud_deploy.CreateDeliveryPipelineRequest() |
cloud_deploy.DeliveryPipeline(name="name_value") |
test_create_delivery_pipeline_flattened_async() |
CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials() |
type(client.transport.create_delivery_pipeline) |
operations_pb2.Operation(name="operations/op") |
operations_pb2.Operation(name="operations/spam") |
cloud_deploy.DeliveryPipeline(name="name_value") |
len(call.mock_calls) |
cloud_deploy.DeliveryPipeline(name="name_value") |
test_create_delivery_pipeline_flattened_error_async() |
CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials() |
pytest.raises(ValueError) |
cloud_deploy.CreateDeliveryPipelineRequest() |
cloud_deploy.DeliveryPipeline(name="name_value") |
test_update_delivery_pipeline(request_type, transport: str = "grpc") |
ga_credentials.AnonymousCredentials() |
request_type() |
type(client.transport.update_delivery_pipeline) |
operations_pb2.Operation(name="operations/spam") |
client.update_delivery_pipeline(request) |
len(call.mock_calls) |
cloud_deploy.UpdateDeliveryPipelineRequest() |
isinstance(response, future.Future) |
test_update_delivery_pipeline_empty_call() |
ga_credentials.AnonymousCredentials() |
type(client.transport.update_delivery_pipeline) |
client.update_delivery_pipeline() |
call.assert_called() |
cloud_deploy.UpdateDeliveryPipelineRequest() |
ga_credentials.AnonymousCredentials() |
request_type() |
type(client.transport.update_delivery_pipeline) |
operations_pb2.Operation(name="operations/spam") |
client.update_delivery_pipeline(request) |
len(call.mock_calls) |
cloud_deploy.UpdateDeliveryPipelineRequest() |
isinstance(response, future.Future) |
test_update_delivery_pipeline_async_from_dict() |
test_update_delivery_pipeline_async(request_type=dict) |
test_update_delivery_pipeline_field_headers() |
CloudDeployClient(credentials=ga_credentials.AnonymousCredentials() |
cloud_deploy.UpdateDeliveryPipelineRequest() |
type(client.transport.update_delivery_pipeline) |
operations_pb2.Operation(name="operations/op") |
client.update_delivery_pipeline(request) |
len(call.mock_calls) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.