horizon/openstack_dashboard/dashboards/project/volumes
David Lyle 5d6003971f Fix tests broken by novaclient 4.0.0 release
The release of python-novaclient 4.0.0 removed both volume_types
and volume_snapshots from the v2 namespace. Both of these data types
are supplied by cinder, but the Horizon test data was still populating
them in nova test data and the tests were using the nova values.

This patch removes the missing namespace references and replaces
the mocked test data with those mocked for cinder.

Additionally, the change exposed a rather broken test in the QoS
for volume_types test suite. This test has been fixed and improved
to exercise more branches.

This fix will unblock the gate for Horizon.

Closes-Bug: #1572246
Change-Id: I9604cd4046a5ab1486373d0572ddf504d4691196
2016-04-19 14:38:44 -06:00
..
backups Merge "Update URLs to Django 1.8+ style" 2016-04-11 18:10:51 +00:00
cgroups Fix tests broken by novaclient 4.0.0 release 2016-04-19 14:38:44 -06:00
snapshots Merge "Update URLs to Django 1.8+ style" 2016-04-11 18:10:51 +00:00
templates/volumes Add Horizon support for volume consistency groups 2016-03-17 09:42:27 -07:00
volumes Fix tests broken by novaclient 4.0.0 release 2016-04-19 14:38:44 -06:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
panel.py Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
tabs.py Add Horizon support for volume consistency groups 2016-03-17 09:42:27 -07:00
test.py Fix remaining Django 1.9 test failures 2016-04-09 11:13:16 +00:00
urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
utils.py [Sahara] Support Cinder availability zones 2015-02-04 08:59:23 +01:00
views.py Refactor/remove obsolete page_header blocks 2015-03-31 17:23:44 +00:00