summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-07-03 12:35:24 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-07-03 12:35:24 +0000
commitc62d6eea19a1e3737ceb2af7f2f75fe727c51906 (patch)
tree944fb32c9fe332c7d04e5710a4f5b079b101a9f8
parentfc8bdc1af48d4c4e5468669af1fd89dfa2092658 (diff)
downloaddjango-c62d6eea19a1e3737ceb2af7f2f75fe727c51906.tar.gz
unicode: Added a test to ensure that we title-case non-ASCII strings properly.
Refs #4749. git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/regressiontests/defaultfilters/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/defaultfilters/tests.py b/tests/regressiontests/defaultfilters/tests.py
index dc3693f0d6..caa58e1257 100644
--- a/tests/regressiontests/defaultfilters/tests.py
+++ b/tests/regressiontests/defaultfilters/tests.py
@@ -76,6 +76,8 @@ u''
>>> title('a nice title, isn\'t it?')
u"A Nice Title, Isn't It?"
+>>> title(u'discoth\xe8que')
+u'Discoth\xe8que'
>>> truncatewords(u'A sentence with a few words in it', 1)
u'A ...'