'Unit Test: test_contentstore_views_entrance_exam_post'

def test_contentstore_views_entrance_exam_post_new_sequential_confirm_grader(self):

    resp = self.client.post(self.exam_url, {}, http_accept='application/json')
    self.assertEqual(resp.status_code, 201)
    resp = self.client.get(self.exam_url)
    self.assertEqual(resp.status_code, 200)
    self.course = modulestore().get_course(self.course.id)
    chapter_locator_string = json.loads(resp.content).get('locator')
    seq_data = {'category': 'sequential', 'display_name': 'Entrance    Exam    Subsection', 'parent_locator': chapter_locator_string}
    resp = self.client.ajax_post(reverse_url('xblock_handler'), seq_data)
    seq_locator_string = json.loads(resp.content).get('locator')
    seq_locator = UsageKey.from_string(seq_locator_string)
    section_grader_type = CourseGradingModel.get_section_grader_type(seq_locator)
    self.assertEqual(GRADER_TYPES['ENTRANCE_EXAM'], section_grader_type['graderType'])
