Django

Code

Changeset 7060

Show
Ignore:
Timestamp:
02/02/08 19:49:55 (7 months ago)
Author:
mtredinnick
Message:

Fixed #6326 -- Made the test for translations of filter arguments test something that has a chance of failure. Thanks akaihola.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/regressiontests/templates/tests.py

    r6996 r7060  
    738738 
    739739            # translation of a variable with a translated filter 
    740             'i18n10': ('{{ bool|yesno:_("ja,nein") }}', {'bool': True}, 'ja'), 
     740            'i18n10': ('{{ bool|yesno:_("yes,no,maybe") }}', {'bool': True, 'LANGUAGE_CODE': 'de'}, 'Ja'), 
    741741 
    742742            # translation of a variable with a non-translated filter