commit | b84f2d409e0535707ab4a61b1585892fa1e7df88 | [log] [tgz] |
---|---|---|
author | Jordan Pittier <jordan.pittier@scality.com> | Wed Dec 21 19:02:15 2016 +0100 |
committer | Jordan Pittier <jordan.pittier@scality.com> | Thu Dec 22 22:22:57 2016 +0100 |
tree | 238b976fe8de9771ef6afed51cf1dc5411a4e048 | |
parent | 72ccabcb685df7c3e28cd25639b05d8a031901c8 [diff] |
Port object_storage tests to Py3. Main changes: * Use bytes instead of strings for object content (data) * Use bytes when using crypto functions (hmac, md5) * When we can't make the service client to always return strings (because we can't know for sure the returned payload is a text), use decode() in tests. Change-Id: Ic56827e3401f36ccc555dd0568b606a8c3047f00