horizon/openstack_dashboard/dashboards/project/vpn
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
..
templates/vpn Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
__init__.py VPNaaS UI implementation 2013-09-06 14:11:35 -07:00
forms.py remove asterisk for optional fields in VPN forms 2015-05-08 11:16:20 +05:30
panel.py Move Horizon to pure plugin loading only 2015-08-03 14:49:31 -06:00
tables.py VPNaaS delete actions refactoring 2015-09-23 11:48:41 +00:00
tabs.py Replace set_id_as_name_if_empty with name_or_id 2014-12-09 09:57:28 +08:00
tests.py Port last unit tests to Python 3 2016-02-10 18:22:52 +01:00
urls.py Fix E128 errors in openstack_dashboard/dashboards/project/ 2014-10-16 16:53:52 +09:00
views.py Add breadcrumb to more details pages 2015-11-09 20:55:12 +00:00
workflows.py VPN forms help text could be improved 2015-12-10 15:04:56 +08:00