Files
horizon/openstack_dashboard/api
Victor Stinner 7b55a2f71b Port last unit tests to Python 3
With this change, all Horizon unit tests pass on Python 3.4.

Changes:

* vpn/tests.py, firewalls/tests.py: Replace reverse_lazy() with
  reverse() to get a regular Python string. The lazy object caused
  failures on Python 3.
* routers/tests.py: Decode HTTP body to get Unicode on Python 3. It
  works also on Python 2.
* neutron.py: replace a/b with a//b to get an integer on Python 3.
* network_tests.py: remove useless copy.deepcopy() which caused a
  recursion error on Python 3.
* metadata_defs/tests.py: expect a different JSON error message on
  Python 3.
* tox.ini: remove openstack_dashboard whitelist, all unit tests now
  pass on Python 3 ;-)

Partial-Implements: blueprint porting-python3
Change-Id: I7b4f036fc86b66c92cccafe6938a906045f03186
2016-02-10 18:22:52 +01:00
..
2016-01-26 02:20:19 +00:00
2015-08-05 23:07:47 -07:00
2015-12-09 02:04:29 -05:00
2015-09-04 18:39:15 +00:00
2015-12-30 13:53:53 +08:00
2016-02-10 18:22:52 +01:00
2015-09-04 18:39:15 +00:00