Ticket #6325: 6325_tests.diff

File 6325_tests.diff, 776 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") }}', {'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