Move tests
This commit is contained in:
parent
077d06df54
commit
3550b26071
55 changed files with 2 additions and 6 deletions
1
tests/templates/_macro.html
Normal file
1
tests/templates/_macro.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
{% macro hello(name) %}Hello {{ name }}!{% endmacro %}
|
||||
1
tests/templates/context_template.html
Normal file
1
tests/templates/context_template.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p>{{ value }}|{{ injected_value }}
|
||||
6
tests/templates/escaping_template.html
Normal file
6
tests/templates/escaping_template.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{{ text }}
|
||||
{{ html }}
|
||||
{% autoescape false %}{{ text }}
|
||||
{{ html }}{% endautoescape %}
|
||||
{% autoescape true %}{{ text }}
|
||||
{{ html }}{% endautoescape %}
|
||||
1
tests/templates/mail.txt
Normal file
1
tests/templates/mail.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ foo}} Mail
|
||||
1
tests/templates/nested/nested.txt
Normal file
1
tests/templates/nested/nested.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
I'm nested
|
||||
1
tests/templates/simple_template.html
Normal file
1
tests/templates/simple_template.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h1>{{ whiskey }}</h1>
|
||||
1
tests/templates/template_filter.html
Normal file
1
tests/templates/template_filter.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ value|super_reverse }}
|
||||
3
tests/templates/template_test.html
Normal file
3
tests/templates/template_test.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{% if value is boolean %}
|
||||
Success!
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue