Skip to content

Commit

Permalink
change publish to pull
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmayr committed Jan 29, 2025
1 parent eb8ebeb commit 576a948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/pubsub_v1/subscriber/test_subscriber_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_init_emulator(monkeypatch, creds):
#
# Sadly, there seems to be no good way to do this without poking at
# the private API of gRPC.
channel = client._transport.publish._thunk("")._channel
channel = client._transport.pull._thunk("")._channel
# Behavior to include dns prefix changed in gRPCv1.63
grpc_major, grpc_minor = [int(part) for part in grpc.__version__.split(".")[0:2]]
if grpc_major > 1 or (grpc_major == 1 and grpc_minor >= 63):
Expand Down

0 comments on commit 576a948

Please sign in to comment.