From 1e0f6df54b026ae1151837c1cec8f124d4ab9e55 Mon Sep 17 00:00:00 2001 From: luxin Date: Wed, 20 Sep 2017 17:40:52 +0800 Subject: Modify the CSIT for vfc-svnfm-huawei Change-Id: Iad756d8285c3a569ceb5cb7df8febd82daf6ca69 Issue-Id:VFC-391 Signed-off-by: luxin --- test/csit/tests/vfc/nfvo-driver-svnfm/huawei.robot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/csit') 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} -- cgit 1.2.3-korg