aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/unit/framework
Commit message (Collapse)AuthorAge
* Implement three missing face test methodsGravatar Nathaniel Manista2016-01-27
|
* Fix reporting unexpected abortions in event testsGravatar Nathaniel Manista2016-01-27
| | | | | | | | Writing "<format string containing one directive> % <expression>" instead of "<format string containing one directive> % (<expression>,)" is always a problem; the particular problem in this case came from face.Abortion being a subclass of a class created with collections.namedtuple.
* Drop use of functools.wrap in logging_poolGravatar Nathaniel Manista2016-01-26
| | | | | | | | | functools.wrap is only warranted to work with functions and methods but logging_pool is warranted to work with callable behaviors, so using functools.wrap has been wrong all along. The particular incompatibility motivating this correction is that callable objects do not have a "__name__" attribute.
* Move parallel RPC code to correct test methodGravatar Nathaniel Manista2016-01-26
| | | | | | | In 4a9b1c69880db4fa8b41 I mistakenly added statements to test test_constants.PARALLELISM RPCs made in parallel to the testSequentialInvocations test method rather than the testParallelInvocations test method. How embarrassing!
* Fix a defect in RPC Framework CoreGravatar Nathaniel Manista2016-01-21
| | | | | | | On the service-side, an operation isn't successfully completed with just the conclusion of transmission to the other side; local ingestion of the status and code must be completed as well before termination callbacks are called.
* 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.