Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #6326 -- Made the test for translations of filter arguments tes…

…t something that has a chance of failure. Thanks akaihola.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d18a114f8667d0dd0c9d9051ee106c4f17fdc3c9 1 parent 6183e0c
Malcolm Tredinnick authored February 03, 2008
2  tests/regressiontests/templates/tests.py
@@ -736,7 +736,7 @@ def get_template_tests(self):
736 736
             'i18n09': ('{% load i18n %}{% trans "Page not found" noop %}', {'LANGUAGE_CODE': 'de'}, "Page not found"),
737 737
 
738 738
             # translation of a variable with a translated filter
739  
-            'i18n10': ('{{ bool|yesno:_("ja,nein") }}', {'bool': True}, 'ja'),
  739
+            'i18n10': ('{{ bool|yesno:_("yes,no,maybe") }}', {'bool': True, 'LANGUAGE_CODE': 'de'}, 'Ja'),
740 740
 
741 741
             # translation of a variable with a non-translated filter
742 742
             'i18n11': ('{{ bool|yesno:"ja,nein" }}', {'bool': True}, 'ja'),

0 notes on commit d18a114

Please sign in to comment.
Something went wrong with that request. Please try again.