'set up an example custom response problem using a check function'

def custom_response_setup(self, name):

    test_csv = self.CUSTOM_RESPONSE_SCRIPT
    expect = self.CUSTOM_RESPONSE_CORRECT
    cfn_problem_xml = CustomResponseXMLFactory().build_xml(script=test_csv, cfn='test_csv', expect=expect)
    ItemFactory.create(parent_location=self.section.location, category='problem', boilerplate='customgrader.yaml', data=cfn_problem_xml, display_name=name)
    self.correct_responses[name] = expect
    self.incorrect_responses[name] = self.CUSTOM_RESPONSE_INCORRECT
    self.refresh_course()
