'Test test_get_gating_milestone_not_none'

def test_get_gating_milestone_not_none(self):

    gating_api.add_prerequisite(self.course.id, self.seq1.location)
    gating_api.set_required_content(self.course.id, self.seq2.location, self.seq1.location, 100)
    self.assertIsNotNone(gating_api.get_gating_milestone(self.course.id, self.seq1.location, 'fulfills'))
    self.assertIsNotNone(gating_api.get_gating_milestone(self.course.id, self.seq2.location, 'requires'))
