From 3da649d71480a89782e2d8e1d7d6c9069a1c4c78 Mon Sep 17 00:00:00 2001 From: Rahul Nair Date: Mon, 7 Mar 2016 17:20:37 +0000 Subject: [PATCH] Fixed issues in invalid JSON file Issues like, using single quotes for double quotes(string), incorrect use of comma when only one field is present etc were fixed. Linted to make sure the JSON is valid. Change-Id: Ifbc611940f8a78b8c4432fc50711245caa2750b8 Closes-Bug: #1554051 --- heatclient/tests/test_templates/adopt.json | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/heatclient/tests/test_templates/adopt.json b/heatclient/tests/test_templates/adopt.json index ac57ec76..05b691d0 100644 --- a/heatclient/tests/test_templates/adopt.json +++ b/heatclient/tests/test_templates/adopt.json @@ -1,32 +1,32 @@ { - 'files': {}, - 'status': 'COMPLETE', - 'name': 'my_stack', - 'tags': None, - 'stack_user_project_id': '123456', - 'environment': {}, - 'template': { - 'heat_template_version': '2016-04-08', - 'resources': { - 'thing': { - 'type': 'OS::Heat::TestResource' + "files": {}, + "status": "COMPLETE", + "name": "my_stack", + "tags": null, + "stack_user_project_id": "123456", + "environment": {}, + "template": { + "heat_template_version": "2016-04-08", + "resources": { + "thing": { + "type": "OS::Heat::TestResource" } } }, - 'action': 'CREATE', - 'project_id': '56789', - 'id': '2468', - 'resources': { - 'thing': { - 'status': 'COMPLETE', - 'name': 'thing', - 'resource_data': { - 'value': 'test_string', + "action": "CREATE", + "project_id": "56789", + "id": "2468", + "resources": { + "thing": { + "status": "COMPLETE", + "name": "thing", + "resource_data": { + "value": "test_string" }, - 'resource_id': 'my_stack-thing-1234', - 'action': 'CREATE', - 'type': 'OS::Heat::TestResource', - 'metadata': {} + "resource_id": "my_stack-thing-1234", + "action": "CREATE", + "type": "OS::Heat::TestResource", + "metadata": {} } } }