'Test listing of bulk emails when email list has one email'

def test_content_list_one_email(self, task_history_request):

    response = self.get_email_content_response(1, task_history_request)
    self.assertTrue(task_history_request.called)
    email_info = json.loads(response.content)['emails']
    self.assertEqual(len(email_info), 1)
    expected_message = self.emails[0].html_message
    returned_email_info = email_info[0]
    received_message = returned_email_info[u'email'][u'html_message']
    self.assertEqual(expected_message, received_message)
