|
|
|
@ -84,39 +84,29 @@ py_library( |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
[ |
|
|
|
|
[ |
|
|
|
|
py2and3_test( |
|
|
|
|
name=test_file_name[:-3], |
|
|
|
|
size="small", |
|
|
|
|
srcs=[test_file_name], |
|
|
|
|
main=test_file_name, |
|
|
|
|
deps=[ |
|
|
|
|
"//src/python/grpcio/grpc:grpcio", |
|
|
|
|
":resources", |
|
|
|
|
":test_common", |
|
|
|
|
":thread_pool", |
|
|
|
|
":_exit_scenarios", |
|
|
|
|
":_server_shutdown_scenarios", |
|
|
|
|
":_from_grpc_import_star", |
|
|
|
|
":_tcp_proxy", |
|
|
|
|
":_signal_client", |
|
|
|
|
"//src/python/grpcio_tests/tests/unit/framework/common", |
|
|
|
|
"//src/python/grpcio_tests/tests/testing", |
|
|
|
|
"//external:six" |
|
|
|
|
], |
|
|
|
|
imports=["../../",], |
|
|
|
|
data=[ |
|
|
|
|
"//src/python/grpcio_tests/tests/unit/credentials", |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
sh_test( |
|
|
|
|
name = test_file_name[:-3] + ".single_threaded_unary_stream", |
|
|
|
|
data = ["{}.python3".format(test_file_name[:-3])], |
|
|
|
|
args = ["{}.python3".format(test_file_name[:-3])], |
|
|
|
|
size = "small", |
|
|
|
|
srcs = ["_single_threaded_unary_stream_test_runner.sh"] |
|
|
|
|
) |
|
|
|
|
] |
|
|
|
|
for test_file_name in GRPCIO_TESTS_UNIT |
|
|
|
|
py2and3_test( |
|
|
|
|
name=test_file_name[:-3], |
|
|
|
|
size="small", |
|
|
|
|
srcs=[test_file_name], |
|
|
|
|
main=test_file_name, |
|
|
|
|
deps=[ |
|
|
|
|
"//src/python/grpcio/grpc:grpcio", |
|
|
|
|
":resources", |
|
|
|
|
":test_common", |
|
|
|
|
":thread_pool", |
|
|
|
|
":_exit_scenarios", |
|
|
|
|
":_server_shutdown_scenarios", |
|
|
|
|
":_from_grpc_import_star", |
|
|
|
|
":_tcp_proxy", |
|
|
|
|
":_signal_client", |
|
|
|
|
"//src/python/grpcio_tests/tests/unit/framework/common", |
|
|
|
|
"//src/python/grpcio_tests/tests/testing", |
|
|
|
|
"//external:six" |
|
|
|
|
], |
|
|
|
|
imports=["../../",], |
|
|
|
|
data=[ |
|
|
|
|
"//src/python/grpcio_tests/tests/unit/credentials", |
|
|
|
|
], |
|
|
|
|
) for test_file_name in GRPCIO_TESTS_UNIT |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|