Ticket #17660: 17660-test.patch

File 17660-test.patch, 996 bytes (added by Bradley Ayers <bradley.ayers@…>, 13 years ago)

test

  • tests/regressiontests/templates/tests.py

     
    12041204            'inheritance40': ("{% extends 'inheritance33' %}{% block opt %}new{{ block.super }}{% endblock %}", {'optional': 1}, '1new23'),
    12051205            'inheritance41': ("{% extends 'inheritance36' %}{% block opt %}new{{ block.super }}{% endblock %}", {'numbers': '123'}, '_new1_new2_new3_'),
    12061206
     1207            # Expression starting and ending with a quote
     1208            'inheritance42': ("{% extends 'inheritance02'|cut:' ' %}", {}, '1234'),
     1209
    12071210            ### LOADING TAG LIBRARIES #################################################
    12081211            'load01': ("{% load testtags subpackage.echo %}{% echo test %} {% echo2 \"test\" %}", {}, "test test"),
    12091212            'load02': ("{% load subpackage.echo %}{% echo2 \"test\" %}", {}, "test"),
Back to Top