summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2017-09-20 17:40:52 +0800
committerluxin <luxin7@huawei.com>2017-09-20 17:40:52 +0800
commit1e0f6df54b026ae1151837c1cec8f124d4ab9e55 (patch)
tree6f7e0f7d257f31d71b57d4da9d0b2db8be0afcfc /test/csit/tests
parent38df25ab71371f3b7b55cce16f635bdcdba23f96 (diff)
Modify the CSIT for vfc-svnfm-huawei
Change-Id: Iad756d8285c3a569ceb5cb7df8febd82daf6ca69 Issue-Id:VFC-391 Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'test/csit/tests')
-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}