'Happy path test to create a single new white listed record'

def test_create_white_list_exception_record(self):

    csv_content = 'test_student1@example.com,dummy_notes\ntest_student2@example.com,dummy_notes'
    data = self.upload_file(csv_content=csv_content)
    self.assertEquals(len(data['general_errors']), 0)
    self.assertEquals(len(data['row_errors']['data_format_error']), 0)
    self.assertEquals(len(data['row_errors']['user_not_exist']), 0)
    self.assertEquals(len(data['row_errors']['user_already_white_listed']), 0)
    self.assertEquals(len(data['row_errors']['user_not_enrolled']), 0)
    self.assertEquals(len(data['success']), 2)
    self.assertEquals(len(CertificateWhitelist.objects.all()), 2)
