]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port key manager to Python 3
authorVictor Stinner <vstinner@redhat.com>
Tue, 24 Nov 2015 16:42:07 +0000 (17:42 +0100)
committerVictor Stinner <vstinner@redhat.com>
Tue, 24 Nov 2015 19:58:32 +0000 (20:58 +0100)
commit52f62c31f792f1f6247258dce9082e592c3f867e
treebac904f7de107411a9303da08b1d98901165c021
parent6b6863703aed627c65a65a807fadca2ae5ac91e3
Port key manager to Python 3

* Replace text.decode('hex') with binascii.unhexlify(text)
* test_barbican: base64 string is a bytes string
* tests-py3.txt: add keymgr tests

Partial-Implements: blueprint cinder-python3
Change-Id: Icc19fa354603857b259458b858e27c5bdd600360
cinder/keymgr/conf_key_mgr.py
cinder/tests/unit/keymgr/test_barbican.py
cinder/tests/unit/keymgr/test_conf_key_mgr.py
cinder/tests/unit/keymgr/test_key.py
tests-py3.txt