aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_test
Commit message (Collapse)AuthorAge
* Make Python testing predictable againGravatar Masood Malekghassemi2015-12-03
| | | | | | | This reorganizes the Python code, scraps the current testing infrastructure, and implements a simple test discovery and run script based on the standard Python unittest library so we can trust that our tests are running.
* Fixes to stub and server lifecycleGravatar Nathaniel Manista2015-12-03
| | | | | | Context management is implemented. Stub deletion now cancels all RPCs immediately.
* Merge branch 'master' of github.com:grpc/grpc into core_creds_api_changeGravatar Julien Boeuf2015-11-17
|\
* \ Merge branch 'master' of github.com:grpc/grpc into core_creds_api_changeGravatar Julien Boeuf2015-11-17
|\ \
* | | Bandaid over differences in the C API for Python credentialsGravatar Masood Malekghassemi2015-11-17
| | |
| | * Updating the server1 cert so that it can be used with Go.Gravatar Julien Boeuf2015-11-09
| |/ | | | | | | | | | | | | | | The encoding of the issuer field in this cert is now a PRINTABLESTRING as opposed to UTF8STRING in the previous server1.pem which was causing the Go issue. Fixes #4086.
| * Remove alpha testsGravatar Masood Malekghassemi2015-10-26
| | | | | | | | Warnings will be emitted when trying to import through alpha packages.
| * Bring Python interop tests to the beta APIGravatar Masood Malekghassemi2015-10-23
| | | | | | | | Also uses the .proto files for the service/stub definitions.
| * fix some python auth interop testsGravatar Jan Tattermusch2015-10-19
|/
* Add empty_stream Python interop testGravatar Masood Malekghassemi2015-10-16
|
* accept --use_tls=true --use_test_ca=true in pythonGravatar Jan Tattermusch2015-10-16
|
* Bring Cython tests back onlineGravatar Masood Malekghassemi2015-10-07
|
* Make load_tests protocol tests run via py.testGravatar Masood Malekghassemi2015-09-30
|
* Merge pull request #3367 from soltanmm/test-fixGravatar Nathaniel Manista2015-09-28
|\ | | | | Update test for changed core HTTP header handling.
* \ Merge pull request #3328 from nathanielmanistaatgoogle/future-callbacksGravatar Masood Malekghassemi2015-09-22
|\ \ | | | | | | Test coverage for callbacks added to Face futures
| | * Update test for changed core HTTP header handlingGravatar Masood Malekghassemi2015-09-21
| | |
| * | Test coverage for callbacks added to Face futuresGravatar Nathaniel Manista2015-09-11
| |/
* / Further maintenance of Python dependenciesGravatar Nathaniel Manista2015-09-10
|/ | | | | These changes probably should have been in 3b0fefb246caf9cf983d8 but were overlooked.
* Python version set to 0.11.0b0Gravatar Masood Malekghassemi2015-09-10
|
* Beta maintenance of Python dependenciesGravatar Nathaniel Manista2015-09-08
| | | | | | | | | | | | | (1) Move dependency on protobuf from grpcio to grpcio_test. While the most-commonly-foreseen use case of grpcio makes use of protobuf, technically protobuf is not strictly needed and there's no actual in-code relationship between grpcio and protobuf. (2) Loosen the dependency on protobuf from ==3.0.0a3 to >=3.0.0a3. (3) Update all references to 0.10.0* to 0.11.0. (4) Alphabetize the grpcio_test dependencies.
* Beta API clean-upsGravatar Nathaniel Manista2015-09-05
| | | | | | | | | | | | | | | | (1) Renamed the "beta" module "implementations" because it hasn't been monolithic since "interfaces" was factored out of it a few changes back. (2) Moved ChannelConnectivity from grpc.beta.beta to grpc.beta.interfaces since it is constants that don't depend on the beta implementation. (3) Moved the Server interface definition from grpc.beta.beta to grpc.beta.interfaces since it is an interface. (4) Dropped the "create_" prefix from "create_<...>_channel" functions to better match the other creation functions throughout the codebase.
* gRPC protocol objectsGravatar Nathaniel Manista2015-09-05
|
* Plumb protocol objects through RPC Framework coreGravatar Nathaniel Manista2015-09-04
|
* UNIMPLEMENTED status for methods not foundGravatar Nathaniel Manista2015-09-02
|
* 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.