Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate most uses of if type() to if isinstance() | Toshio Kuratomi | 2017-04-04 | 1 | -5/+6 |
| | | | | | | Also convert those checks to use abcs instead of dict and list. Make a sentinel class for strategies to report when they've reache the end | ||||
* | added new tests any and all (#22665) | Brian Coca | 2017-03-15 | 1 | -0/+3 |
| | | | | | | * added new tests any and all * updated code names | ||||
* | restored 'results' filters | Brian Coca | 2016-10-13 | 1 | -4/+0 |
| | | | | | tests do not work the same, restoring old filters to keep backwards compat tests now only implment the new normalized 'tense' | ||||
* | J2 test docs (#16646) | Brian Coca | 2016-07-12 | 2 | -0/+42 |
| | | | | | | | | | | | | | * moved tests from filters to actual jinja2 tests also removed some unused declarations and imports * split tests into their own docs removed isnan as existing jinja2's 'number' already covers same added missing docs for several tests * updated as per feedback | ||||
* | removed defined/undefined as jinja2 already has em | Brian Coca | 2016-07-08 | 1 | -12/+0 |
| | |||||
* | added defined/undefined tests | Brian Coca | 2016-07-08 | 1 | -0/+13 |
| | |||||
* | Reverse boilerplate order because from __future__ must be the first code in ↵ | Toshio Kuratomi | 2016-03-24 | 1 | -1/+1 |
| | | | | the file | ||||
* | Add python3 compat boilerplate | Toshio Kuratomi | 2016-03-24 | 1 | -1/+2 |
| | |||||
* | Add `issubset` and `issuperset` tests | George Christou | 2016-03-21 | 1 | -0/+34 |
| | |||||
* | adds multiline flag to regex test for search and match | Peter Sprygada | 2016-03-06 | 1 | -8/+9 |
| | | | | | | | | This commit adds the multiline flag to the regexp search and match test plugin. It defaults to re.M = False for backwards compatibility. To use the multiline feature add multiline=True to the test filter {{ config | search('^hostname', multiline=True) }} | ||||
* | test aliases to enable gramatical consistancy | Brian Coca | 2016-01-14 | 1 | -2/+6 |
| | | | | | | keeps backwards compat by not removing the previouslly non grammer matching states and introduces new ones so user can decide which one he wants (or keep both and still be inconsistent to annoy those that care) | ||||
* | Revert "success should not include skipped" | Brian Coca | 2015-11-19 | 1 | -1/+1 |
| | | | | This reverts commit 300ee227a2e6d8017b9c9b34cf56702a827407f5. | ||||
* | success should not include skipped | Brian Coca | 2015-11-14 | 1 | -1/+1 |
| | | | | fixes #13161 | ||||
* | Add python3-compat boilerplate to all .py files in lib/ansible | Toshio Kuratomi | 2015-10-19 | 3 | -0/+11 |
| | |||||
* | moved mandatory back to filters as it does not always return a boolean, it ↵ | Brian Coca | 2015-08-21 | 1 | -11/+0 |
| | | | | does an exception on failure | ||||
* | added file tests | Brian Coca | 2015-08-20 | 1 | -0/+37 |
| | |||||
* | isnotanumber is not needed as jinja2 has builtin number test | Brian Coca | 2015-08-20 | 1 | -36/+0 |
| | |||||
* | fixed mandatory test | Brian Coca | 2015-08-20 | 1 | -9/+8 |
| | |||||
* | Merge branch 'pluggable_jinja_tests' of https://github.com/quixoten/ansible ↵ | James Cammarata | 2015-07-29 | 3 | -0/+149 |
into quixoten-pluggable_jinja_tests |