Switch names around

pull/24478/head
Richard Belleville 4 years ago
parent b0dfa295a0
commit 905bb9834a
  1. 2
      src/python/grpcio_tests/tests/unit/BUILD.bazel
  2. 2
      src/python/grpcio_tests/tests/unit/_dynamic_stubs_test.py
  3. 3
      src/python/grpcio_tests/tests/unit/data/foo/bar_with_wkt.proto

@ -125,7 +125,7 @@ py2and3_test(
srcs = ["_dynamic_stubs_test.py"],
data = [
"data/foo/bar.proto",
"data/foo/baz.proto",
"data/foo/bar_with_wkt.proto",
],
imports = ["../../"],
main = "_dynamic_stubs_test.py",

@ -108,7 +108,7 @@ def _test_sunny_day():
def _test_well_known_types():
import grpc
protos, services = grpc.protos_and_services(
os.path.join(_DATA_DIR, "foo", "baz.proto"))
os.path.join(_DATA_DIR, "foo", "bar_with_wkt.proto"))
assert protos.BarMessage is not None
assert services.BarStub is not None

@ -16,10 +16,11 @@ syntax = "proto3";
package tests.unit.data.foo.bar;
import "google/protobuf/wrappers.proto";
import "google/protobuf/any.proto";
message BarMessage {
string a = 1;
google.protobuf.Any b = 2;
};
service Bar {
Loading…
Cancel
Save