'Verify that we see no grade information for a course with no graded
problems.'

@patch('lms.djangoapps.instructor_task.tasks_helper.runner._get_current_task')
def test_no_problems(self, _get_current_task):

    result = ProblemGradeReport.generate(None, None, self.course.id, None, 'graded')
    self.assertDictContainsSubset({'action_name': 'graded', 'attempted': 2, 'succeeded': 2, 'failed': 0}, result)
    self.verify_rows_in_csv([dict(zip(self.csv_header_row, [unicode(self.student_1.id), self.student_1.email, self.student_1.username, ENROLLED_IN_COURSE, '0.0'])), dict(zip(self.csv_header_row, [unicode(self.student_2.id), self.student_2.email, self.student_2.username, ENROLLED_IN_COURSE, '0.0']))])
