f85590f4d8
* urlsafe_b64decode(): on Python 3, decode from ASCII to get Unicode string. * urlsafe_decrypt(): encode Unicode to UTF-8. * in some loops, copy dictionary keys or items because the dictionary is modified in the loop body. * test_api: use byte string for image content, not Unicode * test_registry_api: HTTP body type is bytes, use byte strings and jsonutils.dump_as_bytes(), instead of native strings and jsonutils.dumps() * tox.ini: add glance.tests.unit.v1.test_registry_api to Python 3.4 Change-Id: Ib9d18dce6e5728b9adf094b5aae64a86a3fea71a |
||
---|---|---|
.. | ||
api | ||
client | ||
__init__.py |