Skip to content

Commit bef1219

Browse files
committed
Fixed test case for parse_email_list to work with Django 1.x
- Legacy-Id: 1816
1 parent 1a6b010 commit bef1219

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/idtracker/templatetags/ietf_filters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def parse_email_list(value):
4040
4141
Splitting a string of email addresses should return a list:
4242
43-
>>> parse_email_list('joe@example.org, fred@example.com')
44-
'<a href="mailto:joe@example.org">joe@example.org</a>, <a href="mailto:fred@example.com">fred@example.com</a>'
43+
>>> unicode(parse_email_list('joe@example.org, fred@example.com'))
44+
u'<a href="mailto:joe@example.org">joe@example.org</a>, <a href="mailto:fred@example.com">fred@example.com</a>'
4545
4646
Parsing a non-string should return the input value, rather than fail:
4747

0 commit comments

Comments
 (0)