From 2fb8cc5ef217ddf871158109a3cc678e7f62ed78 Mon Sep 17 00:00:00 2001 From: wanghao Date: Thu, 19 Mar 2020 22:08:27 +0800 Subject: [PATCH] Fix bug/1863560 Change-Id: I81cb467bb63d60bd7cdd8d04d878fdc6bd6e8b69 --- zaqar_tempest_plugin/api_schema/response/v2/queues.py | 3 --- zaqar_tempest_plugin/tests/v2/test_queues.py | 1 - 2 files changed, 4 deletions(-) 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)