'Verify that we store the input CSV and call the cohorting background
task when the CSV has email and cohort columns.'

@patch('lms.djangoapps.instructor.views.api.lms.djangoapps.instructor_task.api.submit_cohort_students')
@patch('lms.djangoapps.instructor.views.api.store_uploaded_file')
def test_success_email(self, mock_store_upload, mock_cohort_task):

    self.verify_success_on_file_content('email,cohort\nfoo_email,bar_cohort', mock_store_upload, mock_cohort_task)
