diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-02-24 14:24:37 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2020-02-25 11:26:54 +0800 |
commit | 590f3a6fd34225ac6d48666803a83721bcb35c97 (patch) | |
tree | da6bc3d7a395cd95c35ad8fd9dea2b314202e73f /resources/testscripts/F-version/vnf/vnf_get.py | |
parent | a84c8a335a496627881401400b801de859efc9cb (diff) |
Modify test scripts of F version and add instructions about it
Change-Id: Ic0fb0effc701c47ee5609a5cb88d25619ce05c69
Issue-ID: VFC-1621
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'resources/testscripts/F-version/vnf/vnf_get.py')
-rw-r--r-- | resources/testscripts/F-version/vnf/vnf_get.py | 4 |
1 files changed, 3 insertions, 1 deletions
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()) |