]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port test_srb to Python 3
authorVictor Stinner <vstinner@redhat.com>
Wed, 7 Oct 2015 13:43:05 +0000 (15:43 +0200)
committerVictor Stinner <vstinner@redhat.com>
Thu, 8 Oct 2015 10:33:40 +0000 (12:33 +0200)
commit3fda737f53824170bd59eb6e8ce2e991c89c3c1d
tree8652dfec9f72a20f9e627cc06915e87465986638
parent686db70dfd9c8cd39ac79660a8df52606762a2ef
Port test_srb to Python 3

* Replace itertools.izip() with six.moves.zip()
* Replace (int, long) with six.integer_types
* tests-py3.txt: add cinder.tests.unit.test_srb

Disable pylint on six.moves.zip() because pylint doesn't handle
correctly six.moves, see:
https://bitbucket.org/logilab/pylint/issues/200/

Partial-Implements: blueprint cinder-python3
Change-Id: I5ce550107ce5a72fee87e36bfb56a9794789b43a
cinder/brick/local_dev/lvm.py
cinder/tests/unit/test_srb.py
tests-py3.txt