Fix bug/1863560

Change-Id: I81cb467bb63d60bd7cdd8d04d878fdc6bd6e8b69
This commit is contained in:
wanghao 2020-03-19 22:08:27 +08:00
parent f2dd398a1b
commit 2fb8cc5ef2
2 changed files with 0 additions and 4 deletions

View File

@ -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']

View File

@ -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)