Commit 3654f9b2 authored by Claude Paroz's avatar Claude Paroz

Added unicode_literals imports to support original unicode strings

parent d9fa300d
......@@ -16,6 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from django.conf import settings
from django.contrib.auth import login, authenticate, logout
......
......@@ -16,6 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from operator import itemgetter
......
......@@ -17,6 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
import errno
import hashlib
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import forms
from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
......
......@@ -180,7 +180,7 @@ class TeamTest(TeamsAndRolesTests):
self.assertEqual(len(mail.outbox), 1)
self.assertIn('Role changed', mail.outbox[0].subject)
self.assertIn(
"Your role in the French team on example.com has been set to 'Committer'",
"Your role in the French team on example.com has been set to “Committer”",
mail.outbox[0].body
)
mail.outbox = []
......
......@@ -16,6 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from itertools import islice
from django.core import urlresolvers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment