'Make sure email send to all goes there.'

def test_send_to_all(self):

    test_email = {'action': 'Send    email', 'send_to': '["myself",    "staff",    "learners"]', 'subject': 'test    subject    for    all', '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]))
