1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

iRemove pretty print to_nice_json test -- the test fails on python2.6

without simplejson
This commit is contained in:
Toshio Kuratomi 2015-01-12 13:25:33 -08:00
parent 8bcd2b8f9c
commit e69299f05a
3 changed files with 0 additions and 17 deletions

View file

@ -1,17 +1,6 @@
This is a test of various filter plugins found in Ansible (ex: core.py), and
not so much a test of the core filters in Jinja2.
Dumping a nested structure to JSON
[
"this is a list element",
{
"this": "is a hash element in a list",
"warp": 9,
"where": "endor"
}
]
Dumping the same structure to YAML
- this is a list element

View file

@ -1,10 +1,6 @@
This is a test of various filter plugins found in Ansible (ex: core.py), and
not so much a test of the core filters in Jinja2.
Dumping a nested structure to JSON
{{ some_structure | to_nice_json }}
Dumping the same structure to YAML
{{ some_structure | to_nice_yaml }}

View file

@ -1,2 +0,0 @@
Provoke a python2.6 json bug
{{ hostvars | to_nice_json }}