From e69299f05ab0a4a55e1c68b5945d59df6eafe9a2 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 12 Jan 2015 13:25:33 -0800 Subject: [PATCH] iRemove pretty print to_nice_json test -- the test fails on python2.6 without simplejson --- test/integration/roles/test_filters/files/foo.txt | 11 ----------- test/integration/roles/test_filters/templates/foo.j2 | 4 ---- .../roles/test_filters/templates/py26json.j2 | 2 -- 3 files changed, 17 deletions(-) delete mode 100644 test/integration/roles/test_filters/templates/py26json.j2 diff --git a/test/integration/roles/test_filters/files/foo.txt b/test/integration/roles/test_filters/files/foo.txt index 5ee5a5812c..c5af545d3a 100644 --- a/test/integration/roles/test_filters/files/foo.txt +++ b/test/integration/roles/test_filters/files/foo.txt @@ -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 diff --git a/test/integration/roles/test_filters/templates/foo.j2 b/test/integration/roles/test_filters/templates/foo.j2 index 6d1dde20c2..cf592f98cc 100644 --- a/test/integration/roles/test_filters/templates/foo.j2 +++ b/test/integration/roles/test_filters/templates/foo.j2 @@ -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 }} diff --git a/test/integration/roles/test_filters/templates/py26json.j2 b/test/integration/roles/test_filters/templates/py26json.j2 deleted file mode 100644 index b87d3c8090..0000000000 --- a/test/integration/roles/test_filters/templates/py26json.j2 +++ /dev/null @@ -1,2 +0,0 @@ -Provoke a python2.6 json bug -{{ hostvars | to_nice_json }}