googleapis / googleapis/google-cloud-python

Refactor `rest_method_bad_request_test` to generate gRPC unit tests

Aperta
#16,274 1 commento 0 reazioni 1 assegnatario Assegnata a @ohmayr Vedi su GitHub
priority: p2 type: cleanup
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

`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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.