Skip to content

Commit e6616ca

Browse files
committed
Test 'Client.list_subscriptions' w/ empty return set.
Addresses: #1440 (comment)
1 parent 40954e3 commit e6616ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

system_tests/pubsub.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ def test_list_subscriptions(self):
118118
self.assertFalse(topic.exists())
119119
topic.create()
120120
self.to_delete.append(topic)
121+
empty, _ = Config.CLIENT.list_subscriptions(
122+
topic_name=DEFAULT_TOPIC_NAME)
123+
self.assertEqual(len(empty), 0)
121124
subscriptions_to_create = [
122125
'new%d' % (1000 * time.time(),),
123126
'newer%d' % (1000 * time.time(),),

0 commit comments

Comments
 (0)