|
|
@ -19,8 +19,27 @@ package( |
|
|
|
|
|
|
|
|
|
|
|
GRPC_ASYNC_TESTS = [ |
|
|
|
GRPC_ASYNC_TESTS = [ |
|
|
|
"server_test.py", |
|
|
|
"server_test.py", |
|
|
|
|
|
|
|
"init_test.py", |
|
|
|
|
|
|
|
"channel_test.py", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
py_library( |
|
|
|
|
|
|
|
name = "test_base", |
|
|
|
|
|
|
|
srcs = ["test_base.py"], |
|
|
|
|
|
|
|
srcs_version = "PY3", |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
py_library( |
|
|
|
|
|
|
|
name = "sync_server", |
|
|
|
|
|
|
|
srcs = ["sync_server.py"], |
|
|
|
|
|
|
|
deps = [ |
|
|
|
|
|
|
|
"//src/proto/grpc/testing:empty_py_pb2", |
|
|
|
|
|
|
|
"//src/proto/grpc/testing:py_messages_proto", |
|
|
|
|
|
|
|
"//src/proto/grpc/testing:test_py_pb2_grpc", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
srcs_version = "PY3", |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
[ |
|
|
|
[ |
|
|
|
py_test( |
|
|
|
py_test( |
|
|
|
name=test_file_name[:-3], |
|
|
|
name=test_file_name[:-3], |
|
|
@ -33,6 +52,9 @@ GRPC_ASYNC_TESTS = [ |
|
|
|
"//src/proto/grpc/testing:py_messages_proto", |
|
|
|
"//src/proto/grpc/testing:py_messages_proto", |
|
|
|
"//src/proto/grpc/testing:benchmark_service_py_pb2_grpc", |
|
|
|
"//src/proto/grpc/testing:benchmark_service_py_pb2_grpc", |
|
|
|
"//src/proto/grpc/testing:benchmark_service_py_pb2", |
|
|
|
"//src/proto/grpc/testing:benchmark_service_py_pb2", |
|
|
|
|
|
|
|
"//src/python/grpcio_tests/tests/unit/framework/common", |
|
|
|
|
|
|
|
":test_base", |
|
|
|
|
|
|
|
":sync_server", |
|
|
|
"//external:six" |
|
|
|
"//external:six" |
|
|
|
], |
|
|
|
], |
|
|
|
imports=["../../",], |
|
|
|
imports=["../../",], |
|
|
|