'Set up a simple course for testing the dropping grading functionality.'

def dropping_setup(self):

    grading_policy = {'GRADER': [{'type': 'Homework', 'min_count': 3, 'drop_count': 1, 'short_label': 'HW', 'weight': 1}]}
    self.add_grading_policy(grading_policy)
    self.hw1_names = ['h1p1', 'h1p2']
    self.hw2_names = ['h2p1', 'h2p2']
    self.hw3_names = ['h3p1', 'h3p2']
    self.homework1 = self.add_graded_section_to_course('homework1')
    self.homework2 = self.add_graded_section_to_course('homework2')
    self.homework3 = self.add_graded_section_to_course('homework3')
    self.add_dropdown_to_section(self.homework1.location, self.hw1_names[0], 1)
    self.add_dropdown_to_section(self.homework1.location, self.hw1_names[1], 1)
    self.add_dropdown_to_section(self.homework2.location, self.hw2_names[0], 1)
    self.add_dropdown_to_section(self.homework2.location, self.hw2_names[1], 1)
    self.add_dropdown_to_section(self.homework3.location, self.hw3_names[0], 1)
    self.add_dropdown_to_section(self.homework3.location, self.hw3_names[1], 1)
