Fix the invocation of novaclient object using named parameters

Change-Id: I04a21c5c6c9d826122e28af84fbe01d970261b2a
Closes-Bug: #1658771
This commit is contained in:
Bharath Thiruveedula 2017-01-23 23:56:10 +05:30
parent 4a44a53dd7
commit d311cfb77a
1 changed files with 4 additions and 4 deletions

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