aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/reflection/BUILD.bazel
diff options
context:
space:
mode:
authorGravatar Srini Polavarapu <35056280+srini100@users.noreply.github.com>2018-11-02 10:06:10 -0700
committerGravatar GitHub <noreply@github.com>2018-11-02 10:06:10 -0700
commitf00af6d1ab6015cef25c36dc3aa576e253011395 (patch)
tree3a693f17fcad99bcb17faa97150f8dfab89e7e73 /src/python/grpcio_tests/tests/reflection/BUILD.bazel
parent3ac7f2d24c24c80b2e93b0e905f2cf6c92b6ff29 (diff)
parentcd931752ca1ef7274dfe039dd1d192df306fa6c4 (diff)
Merge pull request #17081 from nathanielmanistaatgoogle/restore-python-bazel
Restore reverted Python Bazel work
Diffstat (limited to 'src/python/grpcio_tests/tests/reflection/BUILD.bazel')
-rw-r--r--src/python/grpcio_tests/tests/reflection/BUILD.bazel21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/python/grpcio_tests/tests/reflection/BUILD.bazel b/src/python/grpcio_tests/tests/reflection/BUILD.bazel
new file mode 100644
index 0000000000..c0efb0b7ce
--- /dev/null
+++ b/src/python/grpcio_tests/tests/reflection/BUILD.bazel
@@ -0,0 +1,21 @@
+load("@grpc_python_dependencies//:requirements.bzl", "requirement")
+
+package(default_visibility = ["//visibility:public"])
+
+py_test(
+ name="_reflection_servicer_test",
+ size="small",
+ timeout="moderate",
+ srcs=["_reflection_servicer_test.py",],
+ main="_reflection_servicer_test.py",
+ deps=[
+ "//src/python/grpcio/grpc:grpcio",
+ "//src/python/grpcio_reflection/grpc_reflection/v1alpha:grpc_reflection",
+ "//src/python/grpcio_tests/tests/unit:test_common",
+ "//src/proto/grpc/testing:py_empty_proto",
+ "//src/proto/grpc/testing/proto2:empty2_extensions_proto",
+ requirement('protobuf'),
+ ],
+ imports=["../../",],
+)
+