From 204f21262e16d78386023b6b5e2953e1d0464e27 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 17 Oct 2018 15:51:09 -0400 Subject: [PATCH] Fix path for patch of 'bidi' elements. Closes #6241. --- .../unit/pubsub_v1/subscriber/test_streaming_pull_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubsub/tests/unit/pubsub_v1/subscriber/test_streaming_pull_manager.py b/pubsub/tests/unit/pubsub_v1/subscriber/test_streaming_pull_manager.py index 4acbf74ea8c0..924fde56ea70 100644 --- a/pubsub/tests/unit/pubsub_v1/subscriber/test_streaming_pull_manager.py +++ b/pubsub/tests/unit/pubsub_v1/subscriber/test_streaming_pull_manager.py @@ -272,10 +272,10 @@ def test_heartbeat_inactive(): @mock.patch( - 'google.cloud.pubsub_v1.subscriber._protocol.bidi.ResumableBidiRpc', + 'google.api_core.bidi.ResumableBidiRpc', autospec=True) @mock.patch( - 'google.cloud.pubsub_v1.subscriber._protocol.bidi.BackgroundConsumer', + 'google.api_core.bidi.BackgroundConsumer', autospec=True) @mock.patch( 'google.cloud.pubsub_v1.subscriber._protocol.leaser.Leaser',