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:
Yosi Ben Shimon 2024-02-06 15:00:25 +02:00
parent 640cf51ef6
commit bce267e799
1 changed files with 1 additions and 1 deletions

View File

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