Fix Tempest error
The url of listing subscription should be "{0}/queues/{1}/subscriptions" Change-Id: Iaa0e114ce0f3876a0c2630ff1bdcbb4549592498
This commit is contained in:
parent
f89d4ba022
commit
f6211b4e5c
@ -485,8 +485,8 @@ class V2MessagingClient(MessagingClient):
|
||||
return resp, body
|
||||
|
||||
def list_subscription(self, queue_name):
|
||||
uri = '{0}/queues/{1}/subscriptions/'.format(self.uri_prefix,
|
||||
queue_name)
|
||||
uri = '{0}/queues/{1}/subscriptions'.format(self.uri_prefix,
|
||||
queue_name)
|
||||
resp, body = self.get(uri, headers=self.headers)
|
||||
body = json.loads(body)
|
||||
self.validate_response(v2schema.list_subscriptions, resp, body)
|
||||
|
Loading…
Reference in New Issue
Block a user