Fix bug/1863560
Change-Id: I81cb467bb63d60bd7cdd8d04d878fdc6bd6e8b69
This commit is contained in:
parent
f2dd398a1b
commit
2fb8cc5ef2
@ -52,9 +52,6 @@ list_queues = {
|
|||||||
'queues': {
|
'queues': {
|
||||||
'type': 'array',
|
'type': 'array',
|
||||||
'items': list_queue
|
'items': list_queue
|
||||||
},
|
|
||||||
'count': {
|
|
||||||
'type': 'number'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'required': ['links', 'queues']
|
'required': ['links', 'queues']
|
||||||
|
@ -84,7 +84,6 @@ class TestManageQueue(base.BaseV2MessagingTest):
|
|||||||
# Listing queues with count
|
# Listing queues with count
|
||||||
_, body = self.client.list_queues(url_params={"with_count": True})
|
_, body = self.client.list_queues(url_params={"with_count": True})
|
||||||
self.assertEqual(len(body['queues']), len(self.queues))
|
self.assertEqual(len(body['queues']), len(self.queues))
|
||||||
self.assertEqual(len(self.queues), body['count'])
|
|
||||||
for item in body['queues']:
|
for item in body['queues']:
|
||||||
self.assertIn(item['name'], self.queues)
|
self.assertIn(item['name'], self.queues)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user