summaryrefslogtreecommitdiff
path: root/tests/test_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* unify/rename filter and function decoratorsDavid Lord2021-04-101-5/+5
| | | | Use pass_context instead of contextfilter and contextfunction, etc.
* add pgettext and npgettextSardorbek Imomaliev2021-04-051-8/+81
|
* deprecate 'with' and 'autoescape' extensionsFawziyahAlebiosu2021-01-291-11/+10
|
* Setup mypyTeymour Aldridge2020-07-281-2/+4
| | | | | * Add missing type hints (these are intended as an initial set of type hints, to be added upon and improved later) * Setup MyPy to run as a Github Action
* Merge branch '2.11.x'David Lord2020-02-051-5/+0
|\
| * remove custom pytest marksDavid Lord2020-02-051-5/+0
| |
* | apply pyupgrade and f-stringsDavid Lord2020-02-051-48/+43
| |
* | remove more compat codeDavid Lord2020-02-051-32/+24
| |
* | remove _compat moduleDavid Lord2020-02-051-5/+3
|/
* Revert "rename imports to jinja"David Lord2020-01-261-32/+34
| | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
* rename imports to jinjaDavid Lord2020-01-101-34/+32
|
* simplify module docstringsstyleDavid Lord2020-01-101-9/+0
|
* apply flake8David Lord2020-01-101-1/+1
|
* apply blackDavid Lord2020-01-101-265/+314
|
* apply reorder-python-importsDavid Lord2020-01-101-3/+10
|
* add a node for derived context referencesDaniel Watkins2019-12-021-4/+21
| | | | | This allows extensions to access locals in the scope from which they were called.
* don't bypass autoescapeDavid Lord2019-10-041-13/+5
|
* Add support for a {% debug %} extension tag.Shaheed Haque2019-10-041-0/+16
| | | | This dumps the available variables, filters and tests.
* Add support for `{% trans trimmed ... %}`Adrian Moennich2017-07-031-0/+68
| | | | | | | Same behavior as in Django: All linebreaks and the whitespace surrounding linebreaks are replaced with a single space. closes #504
* Merge branch '2.9-maintenance'Armin Ronacher2017-01-091-1/+1
|\
| * Move regex flags to separate argumentAdrian Moennich2017-01-091-1/+1
| |
* | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-11/+33
|\ \ | |/
| * Implement with-tag with a custom nodeArmin Ronacher2017-01-081-2/+2
| |
| * Added test for the scope nodeArmin Ronacher2017-01-081-0/+33
| |
| * Moved with test to coretagsArmin Ronacher2017-01-081-11/+0
| |
* | Added support for unoptimized scopesArmin Ronacher2017-01-081-0/+23
|/
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Cleaned up shitty syntax in testsuiteArmin Ronacher2017-01-061-4/+4
|
* Set macro autoescape behavior at call instead of compile time. Fixes #565Armin Ronacher2017-01-061-0/+8
|
* Fixed some broken testsArmin Ronacher2017-01-031-1/+1
|
* standard tox/travis configDavid Lord2016-04-111-4/+4
| | | | fix pytest warning, don't prefix non-testcase classes with Test
* Rename testsuite to tests and suggestionsKartheek Lenkala2015-03-221-0/+467
| | | | | Remove py.test from setup.py install_requires Rename testsuite folder to tests.
* Removed old testsuite.Armin Ronacher2010-02-091-173/+0
| | | | | --HG-- branch : trunk
* added with-statement extension.Armin Ronacher2010-02-071-0/+12
| | | | | --HG-- branch : trunk
* fixes some smaller problems for Jinja2 on Jython.2.2.1Armin Ronacher2009-09-141-4/+5
| | | | | --HG-- branch : trunk
* Fixed a bug that caused internal errors if names where used as iterationArmin Ronacher2009-02-111-0/+23
| | | | | | | | variable and regular variable *after* the loop if that variable was unused *before* the loop. (#331) --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Added example extension that uses the stream filtering and added unittests.Armin Ronacher2008-06-141-7/+4
| | | | | --HG-- branch : trunk
* Added unittests for stream filtering and preprocessing features of extensions.Armin Ronacher2008-06-141-1/+61
| | | | | --HG-- branch : trunk
* added more unittests for various tasksArmin Ronacher2008-05-241-0/+8
| | | | | --HG-- branch : trunk
* fixed bug with static unicode strings and auto escapingArmin Ronacher2008-05-241-0/+4
| | | | | --HG-- branch : trunk
* more unittests and updated documentation for extensions. Fixed bug in ↵Armin Ronacher2008-05-231-1/+32
| | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk
* added loopcontrols extension and added unittests for itArmin Ronacher2008-05-231-0/+37
--HG-- branch : trunk