Remove import of unnecessary modules from Horizon

Manila UI tests import modules with test data for lots of projects.
It is unnecessary and should be removed.
One of such unnecessary modules was removed from Horizon and unit tests
are broken because of it. So, remove breaking one and all other unused.

Change-Id: Ic121ac52d261b1f4eb972a0075cd3a09883fb100
Closes-Bug: #1524735
This commit is contained in:
vponomaryov 2015-12-10 13:17:11 +02:00
parent 7d8ed6c921
commit ef8bf7bcb9

View File

@ -16,31 +16,13 @@ from openstack_dashboard.test.test_data import utils
def load_test_data(load_onto=None):
from manila_ui.test.test_data import keystone_data as manila_keystone_data
from openstack_dashboard.test.test_data import ceilometer_data
from openstack_dashboard.test.test_data import cinder_data
from openstack_dashboard.test.test_data import exceptions
from openstack_dashboard.test.test_data import glance_data
from openstack_dashboard.test.test_data import heat_data
from openstack_dashboard.test.test_data import keystone_data
from openstack_dashboard.test.test_data import neutron_data
from openstack_dashboard.test.test_data import nova_data
from openstack_dashboard.test.test_data import sahara_data
from openstack_dashboard.test.test_data import swift_data
from openstack_dashboard.test.test_data import trove_data
# The order of these loaders matters, some depend on others.
loaders = (
exceptions.data,
keystone_data.data,
glance_data.data,
nova_data.data,
cinder_data.data,
neutron_data.data,
swift_data.data,
heat_data.data,
ceilometer_data.data,
trove_data.data,
sahara_data.data,
manila_keystone_data.data,
)
if load_onto: