]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port huawei driver to Python 3
authorVictor Stinner <vstinner@redhat.com>
Mon, 29 Jun 2015 20:31:45 +0000 (22:31 +0200)
committerVictor Stinner <vstinner@redhat.com>
Mon, 29 Jun 2015 20:33:20 +0000 (22:33 +0200)
commit558e6bbb5cfd44a1ed1fc4f00c1d2e241c2f0411
tree6d09c7aa22a94868a13b0cfb9ffeaf1f814cc695
parentab2b966ea1ee2a268f65dc17d8c33477c3def271
Port huawei driver to Python 3

* On Python 3, encode text to UTF-8 before encoding it to base64
* On Python 3, decode encoded base64 from ASCII to get Unicode
* Fix JSON in unit test: COUNT must be an integer, not a string
* tox.ini: add cinder.tests.unit.test_huawei_18000 to Python 3.4

Blueprint cinder-python3
Change-Id: I8a2356e7faa98bf0a1a74fc15202866f5d5499a3
cinder/tests/unit/test_huawei_18000.py
cinder/volume/drivers/huawei/rest_common.py
tox.ini