From 35935459daa7043a3a49af5ed3a6b4ae805eb6e5 Mon Sep 17 00:00:00 2001 From: rabi Date: Thu, 12 Jan 2017 08:09:11 +0530 Subject: [PATCH] Set content-type when signaling deployment In signal_deployments of ParallelDeploymentsTest.test_deployments_metadata, set the content-type to 'application/json'. Change-Id: Id0ac6d76545bad1857aab2f85b65db2101df655e Closes-Bug: #1656613 --- heat_integrationtests/functional/test_software_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat_integrationtests/functional/test_software_config.py b/heat_integrationtests/functional/test_software_config.py index 860d688266..815893f1bf 100644 --- a/heat_integrationtests/functional/test_software_config.py +++ b/heat_integrationtests/functional/test_software_config.py @@ -149,7 +149,7 @@ properties: iv = dict((i['name'], i['value']) for i in dep['inputs']) sigurl = iv.get('deploy_signal_id') requests.post(sigurl, data='{}', - headers={'content-type': None}, + headers={'content-type': 'application/json'}, verify=self.verify_cert)