murano-agent/releasenotes/notes
Andy Botting 3c41b4f1b9 Fix base64 usage for Python 3
Python 3 now handles str and bytes differently to Python 2, so when
using b64encode/decode, the input and output must specifically by
bytes.

This commit adds some base64 helpers to coerce the input to become
bytes if the input is a str and decodes the output back to str after
the encode or decode.

It also adds a test case to replicate the issue and cover the new
functions.

Change-Id: I8f64da03c7cfc76e620cb3b98201f6287b752bb3
2020-10-08 18:50:22 +11:00
..
.placeholder Add reno for RElease NOtes 2015-11-26 00:31:22 +03:00
drop-py-2-7-33ea9091c6530815.yaml [ussuri][goal] Drop python 2.7 support and testing 2019-11-25 08:11:31 +00:00
fix-1591614-1b2db4cbb41f411c.yaml [Trivial] Fix too many arguments for format string 2016-06-17 10:54:29 +08:00
install-chef-d67f115c0958c116.yaml Change chef installation method 2016-05-19 17:34:37 +00:00
python3-54ba2f6e70795ba6.yaml Python 3: add py34 test environment to tox.ini 2016-06-21 23:02:25 +00:00
python3-base64-usage-aeef2270be7bdf26.yaml Fix base64 usage for Python 3 2020-10-08 18:50:22 +11:00