From 590f3a6fd34225ac6d48666803a83721bcb35c97 Mon Sep 17 00:00:00 2001 From: yangyan Date: Mon, 24 Feb 2020 14:24:37 +0800 Subject: Modify test scripts of F version and add instructions about it Change-Id: Ic0fb0effc701c47ee5609a5cb88d25619ce05c69 Issue-ID: VFC-1621 Signed-off-by: yangyan --- resources/testscripts/F-version/vnf/vnf_get.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources/testscripts/F-version/vnf/vnf_get.py') diff --git a/resources/testscripts/F-version/vnf/vnf_get.py b/resources/testscripts/F-version/vnf/vnf_get.py index 107b7dd8..df14bd76 100644 --- a/resources/testscripts/F-version/vnf/vnf_get.py +++ b/resources/testscripts/F-version/vnf/vnf_get.py @@ -1,5 +1,7 @@ import requests +from testscripts.const import MSB_BASE_URL + requests.packages.urllib3.disable_warnings() -resp = requests.get('https://192.168.235.89:30283/api/vnfpkgm/v1/vnf_packages', verify=False) +resp = requests.get(MSB_BASE_URL + '/api/vnfpkgm/v1/vnf_packages', verify=False) print(resp.status_code, resp.json()) -- cgit 1.2.3-korg