Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Markup and escape should be imported from markupsafe | David Lord | 2021-04-10 | 1 | -1/+1 |
| | |||||
* | add 'is filter' and 'is test' tests | David Lord | 2021-04-04 | 1 | -0/+25 |
| | | | | | | This required allowing tests to be decorated with '@environmentfilter'. Tests are essentially the same as filters now, the node, compiler, and environment have been refactored to extract common behavior. | ||||
* | Merge branch '2.11.x' | David Lord | 2020-02-05 | 1 | -1/+0 |
|\ | |||||
| * | remove custom pytest marks | David Lord | 2020-02-05 | 1 | -1/+0 |
| | | |||||
* | | apply pyupgrade and f-strings | David Lord | 2020-02-05 | 1 | -4/+3 |
|/ | |||||
* | Revert "rename imports to jinja" | David Lord | 2020-01-26 | 1 | -2/+2 |
| | | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef. | ||||
* | rename imports to jinja | David Lord | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | simplify module docstringsstyle | David Lord | 2020-01-10 | 1 | -9/+0 |
| | |||||
* | apply flake8 | David Lord | 2020-01-10 | 1 | -3/+2 |
| | |||||
* | apply black | David Lord | 2020-01-10 | 1 | -157/+157 |
| | |||||
* | apply reorder-python-imports | David Lord | 2020-01-10 | 1 | -1/+2 |
| | |||||
* | Add more strict type tests | Dag Wieers | 2019-10-09 | 1 | -39/+97 |
| | | | | | | | | | | | | | | | | | | | | | This PR adds a few more type-related tests. - boolean Testing of an object is a boolean required 2 tests. - false Make this similar to testing none value - true Make this similar to testing none value - integer The existing 'number' test does not make a distinction between integer, float or even booleans - float The existing 'number' test does not make a distinction between integer, float or even booleans | ||||
* | allow using comparison operator symbols as tests | David Lord | 2017-07-06 | 1 | -8/+28 |
| | | | | | | add tests and aliases for all comparison operators adjust docs to prefer short names for compare tests closes #664 | ||||
* | Add "is in" containment test (#658) | Dirk D | 2017-01-12 | 1 | -0/+13 |
| | |||||
* | Bump up the copyright to 2017 | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Change grouping behavior of tests. This fixes #401 | Armin Ronacher | 2017-01-07 | 1 | -0/+14 |
| | |||||
* | Cleaned up shitty syntax in testsuite | Armin Ronacher | 2017-01-06 | 1 | -1/+1 |
| | |||||
* | Add test for greater/less than (#624) | Major Hayden | 2017-01-04 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | It can be helpful to have a test for values that are greater or less than another value, especially when looping over lists and using `select()` or `selectattr()` filters. This patch adds tests that allow a developer to check if a value is greater or less than another value. For example, if I have a list of vehicles and I want to find the motorcycles: vehicles | selectattr('wheels', 'lessthan', 3) Or, if I want to find large trucks: vehicles | selectattr('wheels', 'greaterthan', 4) Tests are included. | ||||
* | Rename testsuite to tests and suggestions | Kartheek Lenkala | 2015-03-22 | 1 | -0/+104 |
| | | | | | Remove py.test from setup.py install_requires Rename testsuite folder to tests. | ||||
* | Removed old testsuite. | Armin Ronacher | 2010-02-09 | 1 | -94/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | Got rid of py.testisms. | Armin Ronacher | 2009-07-26 | 1 | -12/+11 |
| | | | | | --HG-- branch : trunk | ||||
* | Support nose framework for the whole test suite. | Rene Leonhardt | 2009-04-20 | 1 | -0/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | Copyright switch to "The Jinja Team". | Armin Ronacher | 2009-01-04 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | added more unittests for various tasks | Armin Ronacher | 2008-05-24 | 1 | -3/+37 |
| | | | | | --HG-- branch : trunk | ||||
* | worked on the tests and made undefined fail on comparisons now | Armin Ronacher | 2008-04-26 | 1 | -8/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | fixed a few bugs from the unittests | Armin Ronacher | 2008-04-18 | 1 | -8/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | [svn] merged newparser into trunk | Armin Ronacher | 2007-09-07 | 1 | -2/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | [svn] added sameas test function | Armin Ronacher | 2007-06-24 | 1 | -0/+6 |
| | | | | | --HG-- branch : trunk | ||||
* | [svn] fixed jinja inheritance bug and improved unittests | Armin Ronacher | 2007-03-18 | 1 | -1/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | [svn] added jinja doctests and fixed problem with i18n strings in requirements | Armin Ronacher | 2007-03-18 | 1 | -0/+62 |
--HG-- branch : trunk |