nova/nova/cloudpipe
Victor Stinner 3542060740 Port test_pipelib and test_policy to Python 3
* policy_fixture: replace jsonutils.load() with jsonutils.loads() to
  support bytes and Unicode. Use also a context manager to open the
  file to fix a ResourceWarning on Python 3.
* pipelib: replace str.encode("base64") with base64.b64encode(str)
* cmd/manager.py: replace urllib.unquote() with urlparse.unquote(),
  urlparse comes from "import six.moves.urllib.parse as urlparse"
* enable tests on Python 3

  - test_pipelib
  - test_policy

* enable also tests which already passed on Python 3:

  - test_quota
  - test_test_utils

This change is partially based on the work of dims,
change Ibb4fa47cd71d697a4996425b1797ac2f8cc363cd.

Co-Authored-By: Davanum Srinivas <davanum@gmail.com>
Partially-Implements: blueprint nova-python3-newton
Change-Id: I726d867fafa2d21312e3f2542af9d9ee5e08d897
2016-06-23 10:38:10 +02:00
..
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
bootscript.template Remove vi modelines 2014-02-03 14:19:44 +00:00
client.ovpn.template Remove vi modelines 2014-02-03 14:19:44 +00:00
pipelib.py Port test_pipelib and test_policy to Python 3 2016-06-23 10:38:10 +02:00