'Setup course structure and create user for user partition
transformer test.'

def setUp(self):

    super(MergedGroupAccessTestData, self).setUp()
    self.setup_groups_partitions(num_user_partitions=3)
    self.course = CourseFactory.create(user_partitions=self.user_partitions)
    CourseEnrollmentFactory.create(user=self.user, course_id=self.course.id, is_active=True)
    self.setup_cohorts(self.course)
