googleapis / googleapis/google-cloud-python

Refactor `rest_method_bad_request_test` to generate gRPC unit tests

Open
#16,274 1 comment 0 reactions 1 assignee Assigned to @ohmayr View on GitHub
priority: p2 type: cleanup
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

`rest_method_bad_request_test` macro generates unit tests to test a rest method call which raises a `BadRequest` error. We should refactor this macro and make it generic so that it generates unit tests for `gRPC` as well.

The exact code location can be looked up by searching for this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.