diff --git a/keywords/cloud_platform/ansible_playbook/restore_files_upload_keywords.py b/keywords/cloud_platform/ansible_playbook/restore_files_upload_keywords.py index 549a90f5..2f4b5332 100644 --- a/keywords/cloud_platform/ansible_playbook/restore_files_upload_keywords.py +++ b/keywords/cloud_platform/ansible_playbook/restore_files_upload_keywords.py @@ -38,7 +38,6 @@ class RestoreFilesUploadKeywords(BaseKeyword): if "backup" in file_name: local_path = os.path.join(local_backup_folder_path, file_name) remote_path = os.path.join(remote_backup_dir, file_name) - upload_status = FileKeywords(self.ssh_connection).upload_file(local_path, remote_path) - + upload_status = FileKeywords(self.ssh_connection).upload_file(local_path, remote_path) return upload_status diff --git a/testcases/cloud_platform/backup_and_restore/test_system_restore.py b/testcases/cloud_platform/backup_and_restore/test_system_restore.py index 6d00f568..e3b93cea 100644 --- a/testcases/cloud_platform/backup_and_restore/test_system_restore.py +++ b/testcases/cloud_platform/backup_and_restore/test_system_restore.py @@ -20,7 +20,7 @@ def test_restore(): - Validate restore completion """ - backup_dir = "/opt/platform-backup/localhost" + backup_dir = "/home/sysadmin" local_backup_folder_path = "/tmp/bnr" ssh_connection = LabConnectionKeywords().get_ssh_for_hostname("controller-0")