def METHOD_NAME(self, min_score, min_completion):
    """
    Setup a gating milestone for testing
    """
    gating_api.add_prerequisite(self.course.id, self.seq1.location)
    gating_api.set_required_content(
        self.course.id, self.seq2.location, self.seq1.location, min_score, min_completion
    )
    self.prereq_milestone = gating_api.get_gating_milestone(self.course.id, self.seq1.location, 'fulfills')