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].
Reviewed: https:/ /review. openstack. org/651925 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=60bf9a236df baa98e7d93b4baf 0997e645b02bb0
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 60bf9a236dfbaa9 8e7d93b4baf0997 e645b02bb0
Author: Matt Riedemann <email address hidden>
Date: Thu Apr 11 12:03:30 2019 -0400
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 f3de3c81f701383 5a6aa6f9029.
by configuring the environment for UTF-8 as noted in
the revert change Iaeec1e74262a35
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 /www.python. org/dev/ peps/pep- 0538/
[2] https:/
Change-Id: Ic7059260dfc031 ea1b08d2b8a7cec 684bbe7dfa5 bb046f2bd42dc9c 92f1dcebaa)
Related-Bug: #1823287
Related-Bug: #1746534
(cherry picked from commit e8f7aaf9091330b