Skip to content

Commit

Permalink
Reproduce the issue #317 like in the front
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Jan 29, 2014
1 parent bf58083 commit 726ee89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinnia/tests/test_admin_widgets.py
Expand Up @@ -27,7 +27,7 @@ def test_render_option(self):
def test_render_option_non_ascii_issue_317(self):
widget = MPTTFilteredSelectMultiple('test', False)

option = widget.render_option([], 1, 'тест', (1, 1))
option = widget.render_option([], 1, 'тест'.decode('utf-8'), (1, 1))

self.assertEqual(
option,
Expand Down

0 comments on commit 726ee89

Please sign in to comment.