diff --git a/src/tests/cucumber/features/steps/common_steps/study_input_handler.py b/src/tests/cucumber/features/steps/common_steps/study_input_handler.py index d5fa5d9b56..40154f04c6 100644 --- a/src/tests/cucumber/features/steps/common_steps/study_input_handler.py +++ b/src/tests/cucumber/features/steps/common_steps/study_input_handler.py @@ -85,7 +85,7 @@ def set_reserve_value(self, area, sectionName, variable, value): def copy_reserve_ini_from_file(self,area, testName): # File path - fileToReplace = self.files_path["reserves"] / area / "reserves.ini" + fileToReplace = self.files_path["reserves"] / area.lower() / "reserves.ini" testFile = testName +".ini" fileToCopy = self.files_path["reserve_ini_folder"] / testFile shutil.copyfile(fileToCopy, fileToReplace)