'Set up a simple course for testing basic grading functionality.'

def basic_setup(self, late=False, reset=False, showanswer=False):

    grading_policy = {'GRADER': [{'type': 'Homework', 'min_count': 1, 'drop_count': 0, 'short_label': 'HW', 'weight': 1.0}], 'GRADE_CUTOFFS': {'A': 0.9, 'B': 0.33}}
    self.add_grading_policy(grading_policy)
    self.homework = self.add_graded_section_to_course('homework', late=late, reset=reset, showanswer=showanswer)
    self.add_dropdown_to_section(self.homework.location, 'p1', 1)
    self.add_dropdown_to_section(self.homework.location, 'p2', 1)
    self.add_dropdown_to_section(self.homework.location, 'p3', 1)
    self.refresh_course()
