diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-09-28 11:08:29 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-09-28 11:08:29 +0800 |
commit | 4f7282bbb52c531b41a0d44bd49a2103e4ab49c4 (patch) | |
tree | 4081b9b1d0186f8331cfaee1623554d9615ba519 | |
parent | a48d2d49f48098a2fd38226aae0e45db1f924c6e (diff) |
Fix vfc-gvnfm-vnflcm csit fail issue
Change-Id: I893ebdaa0190e87ed6dda77d74f92e407cbaf349
Issue-ID: VFC-459
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r-- | test/csit/tests/vfc/gvnfm-vnflcm/test.robot | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/csit/tests/vfc/gvnfm-vnflcm/test.robot b/test/csit/tests/vfc/gvnfm-vnflcm/test.robot index 9cfdda08d..1324a1cc8 100644 --- a/test/csit/tests/vfc/gvnfm-vnflcm/test.robot +++ b/test/csit/tests/vfc/gvnfm-vnflcm/test.robot @@ -1,8 +1,10 @@ *** settings *** +Resource ../../common.robot Library Collections Library RequestsLibrary Library OperatingSystem Library json +Library HttpLibrary.HTTP *** Variables *** @{return_ok_list}= 200 201 202 @@ -17,7 +19,7 @@ ${create_vnf_json} ./jsoninput/create_vnf.json VnflcmSwaggerTest [Documentation] query swagger info vnflcm by MSB ${headers} Create Dictionary Content-Type=application/json Accept=application/json - Create Session web_session http://${MSB_IAG_IP}:8801 headers=${headers} + Create Session web_session http://${MSB_IAG_IP}:80 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} |