Change the parameter passed to the API call
The args should be passed instead of kwargs Reason: args contains all the parameter computed in the method Change-Id: I80fbc5a157f7e34d3b9ba6f05b54b38d65b143be Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
This commit is contained in:
parent
640cf51ef6
commit
bce267e799
@ -441,7 +441,7 @@ class ScenarioTest(tempest.test.BaseTestCase):
|
||||
'container': container}
|
||||
args.update(kwargs)
|
||||
backup = self.backups_client.create_backup(volume_id=volume_id,
|
||||
**kwargs)['backup']
|
||||
**args)['backup']
|
||||
self.addCleanup(self.backups_client.delete_backup, backup['id'])
|
||||
waiters.wait_for_volume_resource_status(self.backups_client,
|
||||
backup['id'], 'available')
|
||||
|
Loading…
Reference in New Issue
Block a user