python-manilaclient/manilaclient
Goutham Pacha Ravi b955ac9064 [Python3] Fix python3 bugs in code
- The BaseException class no longer has a "message"
  attribute in python 3 [1]. On the contrary, the
  string representation of an Exception object will
  print all the exception args in all supported
  python versions, so use that instead.
- Functional tests were run with a specific locale,
  remove those annotations so we can handle unicode
  encoding and decoding in python3 envs.
- Cleanup errors were not being handled correctly,
  cleanup the code so we don't have spurious failures.
- In python3, dict.keys() gives you a view for lazy
  loading, so convert occurrences to lists as expected
  in our functional tests.
- Start capturing STDOUT and STDERR in tox envs to
  enable troubleshooting.

Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Closes-Bug: #1811627
Closes-Bug: #1811516
Change-Id: Idaa2fb9b60451b3fbd298e19574195f2d663c6f4
[1] https://www.python.org/dev/peps/pep-0352/#transition-plan
2019-01-17 12:47:03 +00:00
..
common Stop encoding "~" in query parameters 2018-10-08 17:15:33 -07:00
tests [Python3] Fix python3 bugs in code 2019-01-17 12:47:03 +00:00
v1 Merge "Use more parts from keystoneauth" 2017-10-10 08:46:26 +00:00
v2 Merge "Add missing organizational unit (--ou) parameter in manila cli" 2019-01-11 06:21:29 +00:00
__init__.py Replace OpenStack LLC with OpenStack Foundation 2016-07-26 12:21:45 +00:00
api_versions.py Fix is_default value is empty issue when create 2018-07-26 19:59:53 -07:00
base.py Stop encoding "~" in query parameters 2018-10-08 17:15:33 -07:00
client.py Replace OpenStack LLC with OpenStack Foundation 2016-07-26 12:21:45 +00:00
config.py Mark functional tests passwords as secrets 2018-04-25 14:27:43 +00:00
exceptions.py Remove copy of incubated Oslo code 2016-09-28 10:06:45 +08:00
extension.py Replace OpenStack LLC with OpenStack Foundation 2016-07-26 12:21:45 +00:00
shell.py [Python3] Fix python3 bugs in code 2019-01-17 12:47:03 +00:00
utils.py Stop encoding "~" in query parameters 2018-10-08 17:15:33 -07:00