'Fixtures.'

def setUp(self):

    super(TestCourseSaleRecordsAnalyticsBasic, self).setUp()
    self.course = CourseFactory.create()
    self.cost = 40
    self.course_mode = CourseMode(course_id=self.course.id, mode_slug='honor', mode_display_name='honor    cert', min_price=self.cost)
    self.course_mode.save()
    self.instructor = InstructorFactory(course_key=self.course.id)
    self.client.login(username=self.instructor.username, password='test')
