From 253692630f156e81a7ea33d1fa9fc3708939a9c0 Mon Sep 17 00:00:00 2001 From: Nguyen Hung Phuong Date: Mon, 12 Sep 2016 15:15:21 +0700 Subject: Clean imports in code In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d --- tests/test_keystone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_keystone.py b/tests/test_keystone.py index 5145a2cfa..dbbba88ad 100644 --- a/tests/test_keystone.py +++ b/tests/test_keystone.py @@ -10,7 +10,7 @@ # License for the specific language governing permissions and limitations # under the License. -from tests.clients import OpenStackClients +from tests import clients import testtools @@ -19,7 +19,7 @@ import testtools class KeystoneTest(testtools.TestCase): def setUp(self): super(KeystoneTest, self).setUp() - self.kc = OpenStackClients().get_client('KeystoneClient') + self.kc = clients.OpenStackClients().get_client('KeystoneClient') def test_tenants(self): result = self.kc.tenants.list() -- cgit v1.2.3