Permalink
Browse files

test translation fix

  • Loading branch information...
gaftech committed Mar 25, 2012
1 parent 957cfea commit 0e3b35e88d757b2249c0df5f5dfaf66a25a0c4b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 crispy_forms/tests/tests.py
@@ -206,7 +206,7 @@ def test_crispy_tag_with_helper_form_show_errors(self):
# Ensure errors were not rendered
self.assertFalse('<li>Passwords dont match</li>' in html)
- self.assertFalse('This field is required.' in html)
+ self.assertFalse(unicode(_('This field is required.')) in html)
self.assertFalse('error' in html)
def test_crispy_tag_without_helper(self):

0 comments on commit 0e3b35e

Please sign in to comment.