'Test that we can handle carriage returns and line feeds in our file.'

def test_carriage_return_line_feed(self):

    result = self._cohort_students_and_upload(u'username,email,cohort\r\nstudent_1\xec,,Cohort    1\r\nstudent_2,,Cohort    2')
    self.assertDictContainsSubset({'total': 2, 'attempted': 2, 'succeeded': 2, 'failed': 0}, result)
    self.verify_rows_in_csv([dict(zip(self.csv_header_row, ['Cohort    1', 'True', '1', '', '', ''])), dict(zip(self.csv_header_row, ['Cohort    2', 'True', '1', '', '', '']))], verify_order=False)
