diff --git a/zaqar_tempest_plugin/api_schema/response/v2/queues.py b/zaqar_tempest_plugin/api_schema/response/v2/queues.py index cbaede1..c3abcd4 100644 --- a/zaqar_tempest_plugin/api_schema/response/v2/queues.py +++ b/zaqar_tempest_plugin/api_schema/response/v2/queues.py @@ -52,9 +52,6 @@ list_queues = { 'queues': { 'type': 'array', 'items': list_queue - }, - 'count': { - 'type': 'number' } }, 'required': ['links', 'queues'] diff --git a/zaqar_tempest_plugin/tests/v2/test_queues.py b/zaqar_tempest_plugin/tests/v2/test_queues.py index 59d4d47..d8db091 100644 --- a/zaqar_tempest_plugin/tests/v2/test_queues.py +++ b/zaqar_tempest_plugin/tests/v2/test_queues.py @@ -84,7 +84,6 @@ class TestManageQueue(base.BaseV2MessagingTest): # Listing queues with count _, body = self.client.list_queues(url_params={"with_count": True}) self.assertEqual(len(body['queues']), len(self.queues)) - self.assertEqual(len(self.queues), body['count']) for item in body['queues']: self.assertIn(item['name'], self.queues)