'Make sure email (with Unicode characters) send to all goes there.'

def test_unicode_subject_send_to_all(self):

    uni_subject = u't\xe9\u015bt    \u015b\xfabj\xe9\u0107t    f\u0151\u0155    \xe1\u013a\u013a'
    test_email = {'action': 'Send    email', 'send_to': '["myself",    "staff",    "learners"]', 'subject': uni_subject, 'message': 'test    message    for    all'}
    response = self.client.post(self.send_mail_url, test_email)
    self.assertEquals(json.loads(response.content), self.success_content)
    self.assertEquals(len(mail.outbox), ((1 + len(self.staff)) + len(self.students)))
    self.assertItemsEqual([e.to[0] for e in mail.outbox], (([self.instructor.email] + [s.email for s in self.staff]) + [s.email for s in self.students]))
    self.assertEquals(mail.outbox[0].subject, uni_subject)
