aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_test
Commit message (Collapse)AuthorAge
* Add code and details to base.OutcomeGravatar Nathaniel Manista2015-09-02
| | | | | | | | It may seem weird that code and details would travel along two paths now instead of one but it makes sense after considering that sometimes the code and details are application data from the remote application and sometimes they are transport data from the transport between the local and remote applications.
* Fixes for bugs found during manual useGravatar Nathaniel Manista2015-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) In _ingestion, it's the "details" attribute of a NoSuchMethodException that we want. The "message" is inherited from the base Exception class. (2) In _transmission, use a proper sum type for representing operation abortion. Trying to overload the existing _completion value for status-and-details-when-aborting was trying to be too clever. (3) In _calls... oof. Just look. Oof. Test coverage for this code path is added. (4) In _service, the application-provided face.MultiMethodImplementation isn't directly callable, but rather exposes a method named "service". (5) In crust.implementations, the wrapping that we've put around the application-provided face.MultiMethodImplementation *is* directly callable, and *does not* expose a method named "service". (6) Also in crust.implementations, base.NoSuchMethodError's constructor takes a code value and a details value. (7) Again in crust.implementations, the application-provided face.MultiMethodImplementation may be None, and if it is None, we shouldn't wrap it with an adaptation function that would only raise a TypeError at a later time.
* Merge pull request #3152 from nathanielmanistaatgoogle/beta-codegenGravatar Nathaniel Manista2015-08-31
|\ | | | | Python Beta codegen.
| * Code generation for Python Beta APIGravatar Nathaniel Manista2015-08-31
| |
* | Metadata plumbing and serialization tweaksGravatar Nathaniel Manista2015-08-31
|/ | | | | | | | | (1) Plumb the metadata transformer given at the Beta API through to the InvocationLink where it will be used. (2) In both InvocationLink and ServiceLink, if there isn't a registered serializer or deserializer, just pass the payload through rather than ignoring the entire RPC.
* The rest of the Python Beta APIGravatar Nathaniel Manista2015-08-31
|\
| * Drop invoker during test tear-downGravatar Nathaniel Manista2015-08-30
|/ | | | | | | The invoker is an object derived from, and referring to, objects of the Face implementation under test. If those objects are to be garbage collected at the appropriate time the invoker that references them must be made eligible for garbage collection in the test's tearDown method.
* Merge pull request #3075 from jboeuf/credentials_naming_and_cleanupGravatar Yang Gao2015-08-28
|\ | | | | Credentials naming and cleanup
* \ Merge pull request #3126 from nathanielmanistaatgoogle/servicelink-shut-downGravatar Nathaniel Manista2015-08-28
|\ \ | | | | | | Made ServiceLink shut-down a two step process.
| | * Merge branch 'master' of github.com:grpc/grpc into ↵Gravatar Julien Boeuf2015-08-28
| | |\ | |_|/ |/| | | | | credentials_naming_and_cleanup
| * | Make ServiceLink shut-down a two step processGravatar Nathaniel Manista2015-08-28
| | |
* | | Merge pull request #3130 from nathanielmanistaatgoogle/test-cleanupGravatar Masood Malekghassemi2015-08-28
|\ \ \ | | | | | | | | Python test clean-up
| * | | Python test clean-upGravatar Nathaniel Manista2015-08-28
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | (1) Move metadata and details constants for gRPC-on-the-wire tests into grpc.test_common. (2) Drop definitions of setUpModule and tearDownModule from a unit test module that, because it uses the load_tests protocol, never had those methods called anyway. :-(
* / / Accept addresses rather than ports in add_portGravatar Nathaniel Manista2015-08-28
|/ /
* | Merge pull request #3102 from soltanmm/ihopGravatar Nathaniel Manista2015-08-28
|\ \ | | | | | | Python OAuth2 auth-token interop test.
| | * Python service account cleanup.Gravatar Julien Boeuf2015-08-27
| |/ |/|
| * Python OAuth2 auth-token interop testGravatar Masood Malekghassemi2015-08-27
| |
* | Merge pull request #3093 from nathanielmanistaatgoogle/channelGravatar Masood Malekghassemi2015-08-27
|\ \ | | | | | | The Beta API Channel
* \ \ Merge pull request #3052 from nathanielmanistaatgoogle/crustGravatar Masood Malekghassemi2015-08-27
|\ \ \ | | | | | | | | The RPC Framework crust package
| | * | The Beta API ChannelGravatar Nathaniel Manista2015-08-27
| |/ / |/| |
* | | Merge pull request #3044 from ↵Gravatar Masood Malekghassemi2015-08-26
|\ \ \ | |_|/ |/| | | | | | | | nathanielmanistaatgoogle/no-such-method-code-and-message Add code and message to base.NoSuchMethodError
* | | Merge pull request #3021 from ctiller/reject-the-stuffsGravatar Yang Gao2015-08-25
|\ \ \ | | | | | | | | Outlaw illegal metadata characters
| | | * The RPC Framework crust packageGravatar Nathaniel Manista2015-08-25
| | | |
* | | | Add global per-test timeout to Python test harnessGravatar Masood Malekghassemi2015-08-25
| |_|/ |/| |
* | | Merge pull request #3046 from nathanielmanistaatgoogle/defectGravatar Masood Malekghassemi2015-08-25
|\ \ \ | | | | | | | | Use a custom exception in test_control
| | * | Drop whitespace from Python test metadata keysGravatar Nathaniel Manista2015-08-25
| | | | | | | | | | | | | | | | Whitespace is now disallowed in metadata keys.
| * | | Use a custom exception in test_controlGravatar Nathaniel Manista2015-08-25
| | | | | | | | | | | | | | | | | | | | Use of ValueError is too easily misconstrued as an actual defect in the system under test.
| | | * Add code and message to base.NoSuchMethodErrorGravatar Nathaniel Manista2015-08-25
| |_|/ |/| | | | | | | | | | | This is part of support for applications being able to respond to RPCs with unrecognized names with specific codes and messages.
* | | Merge pull request #3040 from nathanielmanistaatgoogle/faceGravatar Masood Malekghassemi2015-08-24
|\ \ \ | |/ / |/| | A test suite for the RPC Framework Face interface
| * | A test suite for the RPC Framework Face interfaceGravatar Nathaniel Manista2015-08-25
| | | | | | | | | | | | | | | While a full Cartesian product across all variables isn't yet present this is still reasonably comprehensive.
* | | Merge pull request #3039 from nathanielmanistaatgoogle/transport-objectsGravatar Masood Malekghassemi2015-08-24
|\ \ \ | | | | | | | | Add a "transport" field to links.Ticket
* \ \ \ Merge pull request #2969 from soltanmm/gravity-wellGravatar Nathaniel Manista2015-08-24
|\ \ \ \ | |_|/ / |/| | | Add cancel_all_calls to Python server.
| | * | Add a "transport" field to links.TicketGravatar Nathaniel Manista2015-08-24
| |/ / |/| | | | | | | | | | | This will be used for communication of transport-specific values and objects up to applications.
| | * Merge github.com:grpc/grpc into reject-the-stuffsGravatar Craig Tiller2015-08-24
| | |\ | |_|/ |/| |
| | * Lower-case stringGravatar Craig Tiller2015-08-21
| | |
* | | The RPC Framework core package.Gravatar Nathaniel Manista2015-08-21
| |/ |/| | | | | | | | | This is the second generation of the old base package (framework.base) and implements the translation between the new links and base interfaces.
| * Add cancel_all_calls to Python serverGravatar Masood Malekghassemi2015-08-20
|/ | | | | Also format _low_test.py to fit within the 80 character fill-limit and re-style test assertions.
* A test suite for the RPC Framework base interfaceGravatar Nathaniel Manista2015-08-18
| | | | | I wasn't able to flesh this out nearly as much as I had wanted to but I can come back to it after Beta (issue #2959).
* Service-side read without allowanceGravatar Nathaniel Manista2015-08-13
| | | | This compensates for the abstraction mismatch described in issue 2916.
* Merge pull request #2878 from soltanmm/exposeGravatar Nathaniel Manista2015-08-12
|\ | | | | Expose new core functionality to Python.
| * Expose new core functionality to PythonGravatar Masood Malekghassemi2015-08-12
| |
* | Merge pull request #2812 from soltanmm/timeout-increaseGravatar Nathaniel Manista2015-08-12
|\ \ | | | | | | Use common timeouts in Python face-layer test-cases.
* \ \ Merge pull request #2780 from soltanmm/compiler-testsGravatar Nathaniel Manista2015-08-11
|\ \ \ | | | | | | | | Move Python protoc plugin tests to grpcio_test.
* \ \ \ Merge pull request #2821 from soltanmm/user-agentGravatar Nathaniel Manista2015-08-11
|\ \ \ \ | | | | | | | | | | Set Python user-agent string.
* | | | | Implement timeout interop test for PythonGravatar Masood Malekghassemi2015-08-10
| |_|_|/ |/| | |
| * | | Set Python user-agent stringGravatar Masood Malekghassemi2015-08-06
|/ / /
| | * Use common timeouts in Python face-layer test-casesGravatar Masood Malekghassemi2015-08-05
| |/ |/|
| * Move Python protoc plugin tests to grpcio_testGravatar Masood Malekghassemi2015-08-04
| |
* | Merge pull request #2686 from nathanielmanistaatgoogle/2570Gravatar Craig Tiller2015-08-04
|\ \ | |/ |/| Affirm metadata transmission in a common function
| * Affirm metadata transmission in a common functionGravatar Nathaniel Manista2015-07-31
| | | | | | | | | | This introduces grpc_test.test_common for gRPC-specific test code and fixes issue 2570.