From 3a6f3ec4c4e5ca2b42273f7a4fa446cd201cc3af Mon Sep 17 00:00:00 2001 From: Eric Hennings Date: Mon, 6 Jan 2014 08:33:36 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20tests=20broken=20for=20python=203.0=20(no?= =?UTF-8?q?=20u=E2=80=99strings=E2=80=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- djrill/tests/test_mandrill_send.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/djrill/tests/test_mandrill_send.py b/djrill/tests/test_mandrill_send.py index ada91df..cf0ff9f 100644 --- a/djrill/tests/test_mandrill_send.py +++ b/djrill/tests/test_mandrill_send.py @@ -461,8 +461,7 @@ class DjrillMandrillFeatureTests(DjrillBackendMockAPITestCase): def test_send_attaches_mandrill_response(self): """ The mandrill_response should be attached to the message when it is sent """ - response = [{u'status': u'sent', u'_id': u'd2dc8a04fedb463398d2c124fd0f1774', - u'email': u'someone@example.com', u'reject_reason': None}] + response = [{'mandrill_response': 'would_be_here'}] self.mock_post.return_value = self.MockResponse(json=response) msg = mail.EmailMessage('Subject', 'Message', 'from@example.com', ['to1@example.com'],) sent = msg.send()