'Test failure case of a poorly formatted email field'

def test_invalid_email_in_csv(self):

    csv_content = 'test_student.example.com,dummy_notes'
    data = self.upload_file(csv_content=csv_content)
    self.assertEquals(len(data['row_errors']['user_not_exist']), 1)
    self.assertEquals(len(data['success']), 0)
    self.assertEquals(len(CertificateWhitelist.objects.all()), 0)
