aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vcpe/preload.py')
-rwxr-xr-xtest/vcpe/preload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 7a3b9aa04..f4a2895f1 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -106,7 +106,7 @@ class Preload:
def preload(self, template_file, replace_dict, url):
json_data = self.generate_json(template_file, replace_dict)
self.logger.debug(json.dumps(json_data, indent=4, sort_keys=True))
- r = requests.post(url, headers=self.vcpecommon.sdnc_headers, auth=self.vcpecommon.sdnc_userpass, json=json_data)
+ r = requests.post(url, headers=self.vcpecommon.sdnc_headers, auth=self.vcpecommon.sdnc_userpass, json=json_data, verify=False)
response = r.json()
if int(response.get('output', {}).get('response-code', 0)) != 200:
self.logger.debug(json.dumps(response, indent=4, sort_keys=True))