From 747012262d94552a153c66647662801ab3020907 Mon Sep 17 00:00:00 2001 From: Bharath Thiruveedula Date: Wed, 1 Feb 2017 22:05:49 +0530 Subject: [PATCH] Fix the invocation of novaclient object using named parameters Change-Id: I5ff43e9d7a2259de826fb2114c7bda927e2ead84 --- tacker/tests/functional/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tacker/tests/functional/base.py b/tacker/tests/functional/base.py index f6be66cae..fedabf186 100644 --- a/tacker/tests/functional/base.py +++ b/tacker/tests/functional/base.py @@ -65,10 +65,10 @@ class BaseTackerTest(base.BaseTestCase): @classmethod def novaclient(cls): vim_params = cls.get_credentials() - return nova_client.Client('2', vim_params['username'], - vim_params['password'], - vim_params['project_name'], - vim_params['auth_url']) + return nova_client.Client('2', username=vim_params['username'], + password=vim_params['password'], + project_name=vim_params['project_name'], + auth_url=vim_params['auth_url']) @classmethod def neutronclient(cls):