Ticket #6326: 6326_tests.diff

File 6326_tests.diff, 782 bytes (added by Antti Kaihola, 17 years ago)

fix for the test case (same as in bug description)

  • tests/regressiontests/templates/tests.py

     
    736736            'i18n09': ('{% load i18n %}{% trans "Page not found" noop %}', {'LANGUAGE_CODE': 'de'}, "Page not found"),
    737737
    738738            # 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'),
    740740
    741741            # translation of a variable with a non-translated filter
    742742            'i18n11': ('{{ bool|yesno:"ja,nein" }}', {'bool': True}, 'ja'),
Back to Top