gapic-generator-python
gapic-generator-python copied to clipboard
Refactor `rest_method_bad_request_test` to generate gRPC unit tests
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.