forked from orbit-oss/flask
Added more Flask tests
This commit is contained in:
parent
8009bd9869
commit
08f1f0dc32
5 changed files with 197 additions and 82 deletions
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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue