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
This commit is contained in:
rabi 2017-01-12 08:09:11 +05:30
parent d21a0cedd4
commit 35935459da
1 changed files with 1 additions and 1 deletions

View File

@ -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)