From e0ed95af66ac09c292d59c9b6819ec63830da4ed Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 19 Feb 2024 01:03:02 +0900 Subject: [PATCH] Remove six This plugin no longer supports python 2 thus usage of six is no longer needed. Change-Id: Ide365a91b434c015cf44c9aa900813237b752be9 --- zaqar_tempest_plugin/tests/v1/test_queues.py | 4 +--- zaqar_tempest_plugin/tests/v1_1/test_queues.py | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/zaqar_tempest_plugin/tests/v1/test_queues.py b/zaqar_tempest_plugin/tests/v1/test_queues.py index 02458c6..1b470b9 100644 --- a/zaqar_tempest_plugin/tests/v1/test_queues.py +++ b/zaqar_tempest_plugin/tests/v1/test_queues.py @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - -from six import moves from tempest.lib.common.utils import data_utils from tempest.lib import decorators from tempest.lib import exceptions as lib_exc @@ -49,7 +47,7 @@ class TestManageQueue(base.BaseV1MessagingTest): def resource_setup(cls): super(TestManageQueue, cls).resource_setup() cls.queues = list() - for _ in moves.xrange(5): + for _ in range(5): queue_name = data_utils.rand_name('Queues-Test') cls.queues.append(queue_name) # Create Queue diff --git a/zaqar_tempest_plugin/tests/v1_1/test_queues.py b/zaqar_tempest_plugin/tests/v1_1/test_queues.py index 8c773fb..c176a2d 100644 --- a/zaqar_tempest_plugin/tests/v1_1/test_queues.py +++ b/zaqar_tempest_plugin/tests/v1_1/test_queues.py @@ -14,7 +14,6 @@ # limitations under the License. -from six import moves from tempest.lib.common.utils import data_utils from tempest.lib import decorators @@ -46,7 +45,7 @@ class TestManageQueue(base.BaseV11MessagingTest): def resource_setup(cls): super(TestManageQueue, cls).resource_setup() cls.queues = list() - for _ in moves.xrange(5): + for _ in range(5): queue_name = data_utils.rand_name('Queues-Test') cls.queues.append(queue_name) # Create Queue