python-novaclient/novaclient
Matt Riedemann e8f7aaf909 Add test for console-log and docs for bug 1746534
We had no unit test coverage for the console-log command
so this adds a simple test. It unfortunately does not
recreate the original UnicodeEncodeError bug though, but
it gives us some test coverage anyway.

This change also adds docs on how to resolve bug 1746534
by configuring the environment for UTF-8 as noted in
the revert change Iaeec1e74262a35f3de3c81f7013835a6aa6f9029.

The documentation added here is shamelessly copied from
Click [1] which was found via the PEP 538 docs [2].

[1] https://click.palletsprojects.com/en/5.x/python3/#python-3-surrogate-handling
[2] https://www.python.org/dev/peps/pep-0538/

Change-Id: Ic7059260dfc031ea1b08d2b8a7cec684bbe7dfa5
Related-Bug: #1823287
Related-Bug: #1746534
2019-04-11 12:03:30 -04:00
..
tests Add test for console-log and docs for bug 1746534 2019-04-11 12:03:30 -04:00
v2 Revert "Fix crashing console-log" 2019-04-05 07:53:47 +01:00
__init__.py Add support for microversion v2.72 2019-03-06 20:44:49 -05:00
api_versions.py Update hacking version 2019-01-04 14:46:07 +08:00
base.py Fix output of interface-attach command 2019-02-19 13:22:49 +09:00
client.py Remove deprecated novaclient.v2.contrib modules 2019-02-07 15:00:36 +09:00
crypto.py Fixes Python3 issue in decoding password 2018-10-26 11:06:44 +09:00
exceptions.py Add support for the 2.57 microversion 2018-01-15 14:42:53 +08:00
extension.py Cleanup needless code from oslo-incubator 2015-12-18 08:46:12 +00:00
i18n.py Update URLs in docs, comments and setup.cfg 2017-07-28 12:14:12 +09:00
shell.py Remove deprecated options 2019-03-21 13:50:41 +00:00
utils.py Merge "Use uuidutils of oslo.utils" 2018-08-08 18:00:11 +00:00