From 4638c818b684825e34e694be3c4f8ff0e824e471 Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Mon, 6 Feb 2017 13:38:57 +0700 Subject: [PATCH] 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 --- zaqar_ui/test/api_tests/rest_api_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaqar_ui/test/api_tests/rest_api_tests.py b/zaqar_ui/test/api_tests/rest_api_tests.py index d889214..bbda6e7 100644 --- a/zaqar_ui/test/api_tests/rest_api_tests.py +++ b/zaqar_ui/test/api_tests/rest_api_tests.py @@ -13,11 +13,11 @@ import mock 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.test import test_data -TEST = TestData(test_data.data) +TEST = utils.TestData(test_data.data) class ZaqarRestTestCase(test.TestCase):