horizon/openstack_dashboard/test/test_data
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
..
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
ceilometer_data.py Adding Ceilometer Alarm API 2016-01-22 08:46:53 +05:30
cinder_data.py Add Horizon support for volume consistency groups 2016-03-17 09:42:27 -07:00
exceptions.py Excise Trove from Horizon 2015-12-22 02:01:07 -07:00
glance_data.py Support properties_target when fetching namespaces 2016-01-29 15:47:28 -06:00
heat_data.py Fixing heatclient release compat issues 2016-03-02 18:19:40 -07:00
keystone_data.py Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
neutron_data.py Adds support to accept IPv6 in VIP Address for LB Pool 2016-01-27 11:27:13 +00:00
nova_data.py Fix tests broken by novaclient 4.0.0 release 2016-04-20 08:05:02 -07:00
swift_data.py Add Swift REST API 2016-02-25 12:12:14 -08:00
utils.py Excise Trove from Horizon 2015-12-22 02:01:07 -07:00