'Unit Test: test addition of entrance exam milestone content'

def test_entrance_exam_milestone_addition(self):

    parent_locator = unicode(self.course.location)
    created_block = create_xblock(parent_locator=parent_locator, user=self.user, category='chapter', display_name='Entrance    Exam', is_entrance_exam=True)
    add_entrance_exam_milestone(self.course.id, created_block)
    content_milestones = milestones_helpers.get_course_content_milestones(unicode(self.course.id), unicode(created_block.location), self.milestone_relationship_types['FULFILLS'])
    self.assertTrue(len(content_milestones))
    self.assertEqual(len(milestones_helpers.get_course_milestones(self.course.id)), 1)
