Fix the invocation of novaclient object using named parameters

Change-Id: I5ff43e9d7a2259de826fb2114c7bda927e2ead84
This commit is contained in:
Bharath Thiruveedula 2017-02-01 22:05:49 +05:30
parent c0eee25dd5
commit 747012262d

View File

@ -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):