cinder/cinder/tests/unit/api
Victor Stinner f484310fe6 Use six to fix imports on Python 3
Replace Python 2 imports with six.moves import to make code compatible
with Python 2 and Python 3.

Replaced imports:

* BaseHTTPServer
* __builtin__
* cookielib
* httplib

This patch was generated by the six_moves operation of the sixer tool
version 0.4:
https://pypi.python.org/pypi/sixer

Manual changes:

* Disable pylint warnings on the HTTPSConnection classes because pylint
  doesn't support importing from six.moves yet, see:
  https://bitbucket.org/logilab/pylint/issue/550/

Blueprint cinder-python3
Change-Id: Ide6d4e3480f2c0a7eb4500aa88affe152ecc0401
2015-06-11 17:19:19 +02:00
..
contrib Merge "ConsistencyGroup: Return 400 instead of 500 for invalid body" 2015-06-08 17:34:35 +00:00
extensions Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
middleware Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
openstack Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
v1 Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
v2 Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
common.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Removed explicit return from __init__ method 2015-06-04 05:33:49 -07:00
test_common.py Don't truncate osapi_volume_link prefixes 2015-04-24 11:24:17 +08:00
test_extensions.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_router.py Bad link in API version details response 2015-05-07 18:50:07 -07:00
test_versions.py Fix wrong response with version details 2015-05-27 08:13:34 +08:00
test_wsgi.py Fix unit tests spam output 2015-05-05 19:32:33 +03:00
test_xmlutil.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00