horizon/openstack_dashboard/dashboards/project/volumes
David Lyle e9b83684d2 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
(cherry picked from commit 5d6003971f)

A merge conflict was resolved when cherry picking this change from the
master branch due to commit fd92d8ec59.

Conflicts:
	openstack_dashboard/dashboards/project/volumes/volumes/tests.py

Change-Id: I9604cd4046a5ab1486373d0572ddf504d4691196
2016-04-20 08:05:02 -07:00
..
backups Merge "Add pagination to volume snapshots and backups pages" 2016-02-17 00:20:21 +00:00
cgroups Fix tests broken by novaclient 4.0.0 release 2016-04-20 08:05:02 -07:00
snapshots Allow Launch Instance (Angular) from Volume Snapshots 2016-03-18 12:21:28 +03: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-20 08:05:02 -07: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 Merge "Do not make unnecessary calls to Nova from FIPs and Volumes tabs" 2016-03-16 13:15:01 +00:00
urls.py Add Horizon support for volume consistency groups 2016-03-17 09:42:27 -07: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