diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-05-22 08:50:47 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-05-22 08:50:47 +0000 |
| commit | d72f630fdb68feaa8db2052f508cedecf1603eb9 (patch) | |
| tree | 7bd1fad592b082b2a608cc86ae0b3e5e53b0538c /tests | |
| parent | 0fc057c486f9e4ae122a1a53bca9e4f055c11004 (diff) | |
unicode: Documented the new iriencode filter and added a test to prove one of
my claims.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/defaultfilters/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/defaultfilters/tests.py b/tests/regressiontests/defaultfilters/tests.py index fb35448edb..d2335dd87b 100644 --- a/tests/regressiontests/defaultfilters/tests.py +++ b/tests/regressiontests/defaultfilters/tests.py @@ -117,6 +117,8 @@ u'jack%20%26%20jill' u'1' >>> iriencode(u'S\xf8r-Tr\xf8ndelag') u'S%C3%B8r-Tr%C3%B8ndelag' +>>> iriencode(urlencode(u'jack & jill')) +u'jack%20%26%20jill' >>> urlizetrunc(u'http://short.com/', 20) u'<a href="http://short.com/" rel="nofollow">http://short.com/</a>' |
