'Verify that grade export works when only the Group A user
partition receives a problem.  We expect to see a column for
the homework where student_a\'s entry includes their grade, and
student b\'s entry shows a 0.'

def test_one_group_problem(self):

    problem_a_url = 'problem_a_url'
    self.define_option_problem(problem_a_url, parent=self.vertical_a)
    self.submit_student_answer(self.student_a.username, problem_a_url, [OPTION_1, OPTION_1])
    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.0', u'Homework': u'Not    Available'}}], ignore_other_columns=True)
