From bce267e7999fabd519819138b3ca12df483cc55a Mon Sep 17 00:00:00 2001 From: Yosi Ben Shimon Date: Tue, 6 Feb 2024 15:00:25 +0200 Subject: [PATCH] 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 --- tempest/scenario/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py index 7c986cc7e4..5f30909be9 100644 --- a/tempest/scenario/manager.py +++ b/tempest/scenario/manager.py @@ -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')