Code Review
/
vfc
/
nfvo
/
lcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Modify test scripts of F version and add instructions about it
[vfc/nfvo/lcm.git]
/
resources
/
testscripts
/
F-version
/
vnf
/
vnf_get_one.py
diff --git
a/resources/testscripts/F-version/vnf/vnf_get_one.py
b/resources/testscripts/F-version/vnf/vnf_get_one.py
index
56998fd
..
a0b0be6
100644
(file)
--- a/
resources/testscripts/F-version/vnf/vnf_get_one.py
+++ b/
resources/testscripts/F-version/vnf/vnf_get_one.py
@@
-1,8
+1,10
@@
import requests
import sys
import requests
import sys
+from testscripts.const import MSB_BASE_URL
+
id = sys.argv[1]
requests.packages.urllib3.disable_warnings()
id = sys.argv[1]
requests.packages.urllib3.disable_warnings()
-resp = requests.get(
'https://192.168.235.89:30283
/api/vnfpkgm/v1/vnf_packages/' + id, verify=False)
+resp = requests.get(
MSB_BASE_URL + '
/api/vnfpkgm/v1/vnf_packages/' + id, verify=False)
print(resp.status_code, resp.json())
print(resp.status_code, resp.json())