aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit/_metadata_code_details_test.py
Commit message (Collapse)AuthorAge
* Verify early OK behaviorGravatar Nathaniel Manista2018-03-13
| | | | | | | | | | Looks like early OK support was implemented in https://github.com/grpc/grpc/pull/14080 but https://github.com/grpc/grpc/issues/7032 was not marked fixed at the time. Good thing it was just an idea on our Google Summer of Code ideas page...
* python: Context.abort should fail RPC even for StatusCode.OKGravatar Evan Jones2018-01-12
| | | | | | | | | | | | | | | grpc.ServicerContext.abort is documented to always raise an exception to terminate the RPC. The code argument "must not be StatusCode.OK." However, if you do pass StatusCode.OK, the RPC terminates successfully on the client side, but returns None. _server.py: If the user accidentally passes StatusCode.OK, treat it as StatusCode.UNKNOWN. This is what happens if the user accidentally passes something that is not a StatusCode instance. Additionally set details to ''. _metadata_code_details_test.py: update test to verify the behavior of abort with invalid codes.
* Upgrade yapf to 0.20.0Gravatar Mehrdad Afshari2018-01-02
| | | | Upgrade yapf version to 0.20.0 and reformat Python files.
* Disable so_reuseport for Python testsGravatar Ken Payson2017-12-20
|
* Refactor: Rename call to response_iterator_callGravatar Mehrdad Afshari2017-12-10
| | | | Rename call to response_iterator_call file-wide for response-streaming tests.
* Tests for ServicerContext.abortGravatar Mehrdad Afshari2017-12-10
|
* "resopnse" typo correctionGravatar Nathaniel Manista2017-09-28
|
* auto-fix most of licensesGravatar Jan Tattermusch2017-06-08
|
* Re-run yapf code, and pin versionGravatar Ken Payson2017-02-06
|
* Run Python formattingGravatar Masood Malekghassemi2017-01-17
|
* Make handlers optional at server constructionGravatar Nathaniel Manista2016-07-07
|
* Organize Python tests to use grpcio-tools directlyGravatar Masood Malekghassemi2016-07-01
Moves all tests into a separate package. This does not change existing supported means of running tests (e.g. through run_tests.py).