We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f241636 commit e090bcdCopy full SHA for e090bcd
pubsub/cloud-client/subscriber_test.py
@@ -154,6 +154,16 @@ def _():
154
subscriber_client.get_subscription(subscription)
155
156
157
+def test_update(subscriber_client, subscription, capsys):
158
+ ACK_DEADLINE_SECONDS = 100
159
+
160
+ subscriber.update_subscription(PROJECT, SUBSCRIPTION, ACK_DEADLINE_SECONDS)
161
162
+ out, _ = capsys.readouterr()
163
+ assert subscription in out
164
+ assert '100' in out
165
166
167
def _publish_messages(publisher_client, topic):
168
for n in range(5):
169
data = u'Message {}'.format(n).encode('utf-8')
0 commit comments