Fix group_by test to work with jinja2 >= 2.9.
This commit is contained in:
parent
0aad46c85b
commit
cc3d131f50
2 changed files with 2 additions and 3 deletions
|
@ -25,10 +25,10 @@
|
|||
group_by: key={{ genus }}
|
||||
|
||||
- name: group by first three letters of genus with key in quotes
|
||||
group_by: key="{{ genus | truncate(3, true, '') }}"
|
||||
group_by: key="{{ genus[:3] }}"
|
||||
|
||||
- name: group by first two letters of genus with key not in quotes
|
||||
group_by: key={{ genus | truncate(2, true, '') }}
|
||||
group_by: key={{ genus[:2] }}
|
||||
|
||||
- name: group by genus in uppercase using complex args
|
||||
group_by: { key: "{{ genus | upper() }}" }
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
coverage >= 4.2
|
||||
jinja2 < 2.9 # 2.9 introduces changes which break tests
|
||||
pywinrm >= 0.2.1 # 0.1.1 required, but 0.2.1 provides better performance
|
||||
|
|
Loading…
Reference in a new issue