aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-20 17:01:34 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-20 17:01:34 +0000
commit3c8ca3a7bbdd047b4f2295a9db314a9cc189a2d7 (patch)
treea01c118b72ccd9b1b2820c644c6f28081d59ba49 /test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot
parentca04239f62b29ec7a589ccba9aba241e11571d95 (diff)
parent1e0f6df54b026ae1151837c1cec8f124d4ab9e55 (diff)
Merge "Modify the CSIT for vfc-svnfm-huawei"
Diffstat (limited to 'test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot')
-rw-r--r--test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot b/test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot
index b1aea584a..9bb85b891 100644
--- a/test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot
+++ b/test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot
@@ -1,4 +1,5 @@
*** settings ***
+Resource ../../common.robot
Library Collections
Library RequestsLibrary
Library simplejson
@@ -18,7 +19,7 @@ ${hwvnfm_createtoken_json} ${SCRIPTS}/../tests/vfc/nfvo-driver-svnfm/jsoninpu
SwaggerFuncTest
[Documentation] query swagger info rest test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
- Create Session web_session http://${MSB_IP}:80 headers=${headers}
+ Create Session web_session http://${SERVICE_IP}:8482 headers=${headers}
${resp}= Get Request web_session ${queryswagger_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -31,7 +32,7 @@ AuthTokenFuncTest
${json_value}= json_from_file ${hwvnfm_createtoken_json}
${json_string}= string_from_json ${json_value}
${headers} Create Dictionary Content-Type=application/json Accept=application/json
- Create Session web_session http://${MSB_IP}:80 headers=${headers}
+ Create Session web_session http://${SERVICE_IP}:8482 headers=${headers}
Set Request Body ${json_string}
${resp}= Post Request web_session ${createauthtoken_url} ${json_string}
${responese_code}= Convert To String ${resp.status_code}