aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit/beta/BUILD.bazel
blob: d3e0fe20eb776adc856bdbdf91eb58d6cce1a48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
load("@grpc_python_dependencies//:requirements.bzl", "requirement")

package(default_visibility = ["//visibility:public"])

py_library(
    name = "test_utilities",
    srcs = ["test_utilities.py"],
    deps = [
        "//src/python/grpcio/grpc:grpcio",
    ],
)

py_test(
    name = "_beta_features_test",
    srcs = ["_beta_features_test.py"],
    main = "_beta_features_test.py",
    size = "small",
    deps = [
        "//src/python/grpcio/grpc:grpcio",
        "//src/python/grpcio_tests/tests/unit:resources",
        "//src/python/grpcio_tests/tests/unit/framework/common",
        ":test_utilities",
    ],
    imports=["../../../",],
)

py_test(
    name = "_connectivity_channel_test",
    srcs = ["_connectivity_channel_test.py"],
    main = "_connectivity_channel_test.py",
    size = "small",
    deps = [
        "//src/python/grpcio/grpc:grpcio",
    ],
)

# TODO(ghostwriternr): To be added later.
#py_test(
#    name = "_implementations_test",
#    srcs = ["_implementations_test.py"],
#    main = "_implementations_test.py",
#    size = "small",
#    deps = [
#        "//src/python/grpcio/grpc:grpcio",
#        "//src/python/grpcio_tests/tests/unit:resources",
#        requirement('oauth2client'),
#    ],
#    imports=["../../../",],
#)

py_test(
    name = "_not_found_test",
    srcs = ["_not_found_test.py"],
    main = "_not_found_test.py",
    size = "small",
    deps = [
        "//src/python/grpcio/grpc:grpcio",
        "//src/python/grpcio_tests/tests/unit/framework/common",
    ],
    imports=["../../../",],
)

py_test(
    name = "_utilities_test",
    srcs = ["_utilities_test.py"],
    main = "_utilities_test.py",
    size = "small",
    deps = [
        "//src/python/grpcio/grpc:grpcio",
        "//src/python/grpcio_tests/tests/unit/framework/common",
    ],
    imports=["../../../",],
)