'Add a problem to the course with the specified metadata alterations.'

def _add_problem_with_alterations(self, alterations):

    metadata = self._get_altered_metadata(alterations)
    ItemFactory.create(parent=self.vertical, category='problem', display_name='problem', data=self.problem_xml, metadata=metadata)
