Clean imports in code

This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Iac60690f4ea56a53acfbbbdcf50a360ce8e9ca1d
This commit is contained in:
Cao Xuan Hoang 2017-02-06 13:38:57 +07:00
parent 0f46e6f648
commit 4638c818b6

View File

@ -13,11 +13,11 @@
import mock import mock
from openstack_dashboard.test import helpers as test from openstack_dashboard.test import helpers as test
from openstack_dashboard.test.test_data.utils import TestData from openstack_dashboard.test.test_data import utils
from zaqar_ui.api.rest import zaqar from zaqar_ui.api.rest import zaqar
from zaqar_ui.test import test_data from zaqar_ui.test import test_data
TEST = TestData(test_data.data) TEST = utils.TestData(test_data.data)
class ZaqarRestTestCase(test.TestCase): class ZaqarRestTestCase(test.TestCase):