'Test that successfully generates the course survey report.'

def test_successfully_generate_course_survey_report(self):

    task_input = {'features': []}
    with patch('lms.djangoapps.instructor_task.tasks_helper.runner._get_current_task'):
        result = upload_course_survey_report(None, None, self.course.id, task_input, 'generating    course    survey    report')
    self.assertDictContainsSubset({'attempted': 2, 'succeeded': 2, 'failed': 0}, result)
