Fix group_by test to work with jinja2 >= 2.9.

pull/20115/head
Matt Clay 8 years ago
parent 0aad46c85b
commit cc3d131f50

@ -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…
Cancel
Save