summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-14 17:08:59 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-14 19:05:14 +0800
commitc37933b31232eab745089f1e5e3f682f095599c6 (patch)
treea56e0f323e761ac4baf91da243486fdba40e3911 /test
parenta12f3bbec8c441894aae162e4f2f5c58ef58c311 (diff)
Add robot SCRIPTS env for vfc-nfvo-lcm
Change-Id: I1219aa7c6bf90b242e4952b1cbcd7d38eba7db29 Issue-Id: INT-201 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'test')
-rwxr-xr-xtest/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh2
-rw-r--r--test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json3
-rw-r--r--test/csit/tests/vfc/nfvo-lcm/test.robot3
3 files changed, 5 insertions, 3 deletions
diff --git a/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
index d75b1cadb..3cc53988c 100755
--- a/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
+++ b/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
@@ -55,4 +55,4 @@ for i in {1..10}; do
done
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v NSLCM_IP:${NSLCM_IP}"
+ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v NSLCM_IP:${NSLCM_IP} -v SCRIPTS:${SCRIPTS}"
diff --git a/test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json b/test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json
index 0d2027f21..bb39364bb 100644
--- a/test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json
+++ b/test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json
@@ -1,5 +1,6 @@
{
"nsName": "ns1",
"csarId": "123",
- "description": "ns1 desc"
+ "description": "ns1 desc",
+ "test": "test"
} \ No newline at end of file
diff --git a/test/csit/tests/vfc/nfvo-lcm/test.robot b/test/csit/tests/vfc/nfvo-lcm/test.robot
index 71bf6acad..44d23292e 100644
--- a/test/csit/tests/vfc/nfvo-lcm/test.robot
+++ b/test/csit/tests/vfc/nfvo-lcm/test.robot
@@ -4,6 +4,7 @@ Library Collections
Library RequestsLibrary
Library OperatingSystem
Library json
+Library HttpLibrary.HTTP
*** Variables ***
@{return_ok_list}= 200 201 202 204
@@ -12,7 +13,7 @@ ${create_ns_url} /api/nslcm/v1/ns
${delete_ns_url} /api/nslcm/v1/ns
#json files
-${create_ns_json} ${SCRIPTS}/../test/vfc/nfvo-lcm/jsoninput/create_ns.json
+${create_ns_json} ${SCRIPTS}/../tests/vfc/nfvo-lcm/jsoninput/create_ns.json
#global variables
${nsInstId}