diff --git a/djrill/tests/test_mandrill_send.py b/djrill/tests/test_mandrill_send.py index 772844c..403584a 100644 --- a/djrill/tests/test_mandrill_send.py +++ b/djrill/tests/test_mandrill_send.py @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- +from __future__ import unicode_literals + from base64 import b64decode from datetime import date, datetime, timedelta, tzinfo from email.mime.base import MIMEBase @@ -188,7 +190,7 @@ class DjrillBackendTests(DjrillBackendMockAPITestCase): ) # Slight modification from the Django unicode docs: # http://django.readthedocs.org/en/latest/ref/unicode.html#email - msg.attach("Une pièce jointe.html", u'
\u2019
', mimetype='text/html') + msg.attach("Une pièce jointe.html", '\u2019
', mimetype='text/html') msg.send() data = self.get_api_call_data()