def _set_run_script_environment(self, environment_to_set):
    self.config_manager_mock.__getitem__ = ConditionalReturn()
    self.config_manager_mock.__getitem__.return_when(environment_to_set, 'run_script_environment')
def _set_run_script_environment(self, environment_to_set):
    self.config_manager_mock.__getitem__ = ConditionalReturn()
    self.config_manager_mock.__getitem__.return_when(environment_to_set, 'run_script_environment')