'Verify that grade export works when each user partition
receives (different) problems.  Each user\'s grade on their
particular problem should show up in the grade report.'

def test_both_groups_problems(self):

    problem_a_url = 'problem_a_url'
    problem_b_url = 'problem_b_url'
    self.define_option_problem(problem_a_url, parent=self.vertical_a)
    self.define_option_problem(problem_b_url, parent=self.vertical_b)
    self.submit_student_answer(self.student_a.username, problem_a_url, [OPTION_1, OPTION_1])
    self.submit_student_answer(self.student_b.username, problem_b_url, [OPTION_1, OPTION_2])
    with patch('lms.djangoapps.instructor_task.tasks_helper.runner._get_current_task'):
        result = CourseGradeReport.generate(None, None, self.course.id, None, 'graded')
        self.verify_csv_task_success(result)
        self.verify_grades_in_csv([{self.student_a: {u'Grade': '1.0', u'Homework': '1.0'}}, {self.student_b: {u'Grade': '0.5', u'Homework': '0.5'}}], ignore_other_columns=True)
