8db41f04d5
With this commit, it is possible to successfully run 'tox -epy34', even though only a small amount of tests will actually be run. This is a required step in making Neutron compatible with Python 3, as described in the 'Porting to Python 3' specification. This commit: - fixes some broken imports, while making sure they still work with Python 3; - updates a call to gettext.install; - adds a py34 target in tox.ini. Change-Id: I91cc7a992d05ea85f7004d1c5a45a1c02cbf1c85 Blueprint: neutron-python3 |
||
---|---|---|
.. | ||
common | ||
services | ||
README.rst | ||
__init__.py | ||
auth.py | ||
config.py | ||
exceptions.py | ||
manager.py | ||
test.py |
README.rst
WARNING
The files under this path were copied from tempest as part of the move of the api tests, and they will be removed as the required functionality is transitioned from tempest to tempest-lib. While it exists, only neutron.tests.api and neutron.tests.retargetable should be importing files from this path. neutron.tests.tempest.config uses the global cfg.CONF instance and importing it outside of the api tests has the potential to break Neutron's use of cfg.CONF.