From c37933b31232eab745089f1e5e3f682f095599c6 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Thu, 14 Sep 2017 17:08:59 +0800 Subject: Add robot SCRIPTS env for vfc-nfvo-lcm Change-Id: I1219aa7c6bf90b242e4952b1cbcd7d38eba7db29 Issue-Id: INT-201 Signed-off-by: fujinhua --- test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh | 2 +- test/csit/tests/vfc/nfvo-lcm/jsoninput/create_ns.json | 3 ++- test/csit/tests/vfc/nfvo-lcm/test.robot | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'test/csit') 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} -- cgit 1.2.3-korg