nova/nova/api/validation
Victor Stinner f0082849df Fix version unit test on Python 3
With this change, "tox -e py34" now pass.

Changes:

* Replace unichr() with six.unichr()
* Replace StringIO.StringIO() with six.Bytes() in
  nova.crypto.generate_key_pair()
* On Python 3, replace UserDict.IterableUserDict with
  collections.UserDict
* Replace __builtin__.open with six.moves.builtins.open
* Replace ConfigParser import with six.moves.configparser
* On Python 3, get the original "queue" module instead of the "Queue"
  module in nova/virt/libvirt/host.py
* Replace urllib2 with six.moves.urllib
* tox.ini: "tox -e py34" now only runs nova.tests.unit.test_versions

Blueprint nova-python3
Change-Id: I056769c7c5b32276894f7aade8c0a27af81c42ae
2015-05-25 13:33:59 +02:00
..
__init__.py Adds support for versioned schema validation for microversions api 2014-12-17 10:05:42 +08:00
parameter_types.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
validators.py Switch to uuidutils from oslo_utils library 2015-02-25 20:05:49 -05:00