'Create a CodeResponse problem with files to upload.'

def problem_setup(self, name, files):

    xmldata = CodeResponseXMLFactory().build_xml(allowed_files=files, required_files=files)
    ItemFactory.create(parent_location=self.section.location, category='problem', display_name=name, data=xmldata)
    self.refresh_course()
