Remove six
This plugin no longer supports python 2 thus usage of six is no longer needed. Change-Id: Ide365a91b434c015cf44c9aa900813237b752be9
This commit is contained in:
parent
026f0e732e
commit
e0ed95af66
@ -13,8 +13,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
from six import moves
|
|
||||||
from tempest.lib.common.utils import data_utils
|
from tempest.lib.common.utils import data_utils
|
||||||
from tempest.lib import decorators
|
from tempest.lib import decorators
|
||||||
from tempest.lib import exceptions as lib_exc
|
from tempest.lib import exceptions as lib_exc
|
||||||
@ -49,7 +47,7 @@ class TestManageQueue(base.BaseV1MessagingTest):
|
|||||||
def resource_setup(cls):
|
def resource_setup(cls):
|
||||||
super(TestManageQueue, cls).resource_setup()
|
super(TestManageQueue, cls).resource_setup()
|
||||||
cls.queues = list()
|
cls.queues = list()
|
||||||
for _ in moves.xrange(5):
|
for _ in range(5):
|
||||||
queue_name = data_utils.rand_name('Queues-Test')
|
queue_name = data_utils.rand_name('Queues-Test')
|
||||||
cls.queues.append(queue_name)
|
cls.queues.append(queue_name)
|
||||||
# Create Queue
|
# Create Queue
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
from six import moves
|
|
||||||
from tempest.lib.common.utils import data_utils
|
from tempest.lib.common.utils import data_utils
|
||||||
from tempest.lib import decorators
|
from tempest.lib import decorators
|
||||||
|
|
||||||
@ -46,7 +45,7 @@ class TestManageQueue(base.BaseV11MessagingTest):
|
|||||||
def resource_setup(cls):
|
def resource_setup(cls):
|
||||||
super(TestManageQueue, cls).resource_setup()
|
super(TestManageQueue, cls).resource_setup()
|
||||||
cls.queues = list()
|
cls.queues = list()
|
||||||
for _ in moves.xrange(5):
|
for _ in range(5):
|
||||||
queue_name = data_utils.rand_name('Queues-Test')
|
queue_name = data_utils.rand_name('Queues-Test')
|
||||||
cls.queues.append(queue_name)
|
cls.queues.append(queue_name)
|
||||||
# Create Queue
|
# Create Queue
|
||||||
|
Loading…
Reference in New Issue
Block a user