horizon/openstack_dashboard/dashboards/admin
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
..
aggregates Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
defaults Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
flavors Add rxtx factor to flavors. 2016-02-12 19:20:42 +01:00
hypervisors Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
images Merge "The update image should be changed to edit image" 2016-02-17 10:30:06 +00:00
info Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
instances Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
metadata_defs Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
metering Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
networks Merge "Branding: Workflow cancel btn should be themable" 2016-03-15 23:48:54 +00:00
ngflavors Add Magic Search Filtering to NG Flavors 2016-02-06 07:17:34 +00:00
overview Delete unnecessary permissions on panel 2016-01-06 13:57:19 +09:00
routers Merge "Port dashboard router tests on Python 3" 2015-11-10 14:09:29 +00:00
static/dashboard/admin Merge "Add missing column rxtx_factor to ng flavors table" 2016-03-08 21:14:54 +00: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
dashboard.py Retrieve domain scoped token 2016-03-08 15:17:38 -08:00