From: Alexis de Talhouët Date: Thu, 18 Jun 2015 18:01:49 +0000 (-0400) Subject: Add csit for NIC X-Git-Tag: release/lithium~20 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=dade8587009523834db18402d896f5c97140f5c1;p=integration%2Ftest.git Add csit for NIC Change-Id: I9258134bdb8f5763d55452e784d77a2183ba21a6 Signed-off-by: Alexis de Talhouët --- diff --git a/test/csit/suites/nic/basic/010_Restconf_OK.robot b/test/csit/suites/nic/basic/010_Restconf_OK.robot new file mode 100644 index 0000000000..0547df3f2c --- /dev/null +++ b/test/csit/suites/nic/basic/010_Restconf_OK.robot @@ -0,0 +1,19 @@ +*** Settings *** +Documentation Test suite to verify Restconf is OK +Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} +Suite Teardown Delete All Sessions +Library RequestsLibrary +Variables ../../../variables/Variables.py +Resource ../../../libraries/Utils.txt + +*** Variables *** +${REST_CONTEXT} /restconf/modules + +*** Test Cases *** +Get Controller Modules + [Documentation] Get the controller modules via Restconf + ${resp} RequestsLibrary.Get session ${REST_CONTEXT} + Log ${resp.content} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} ietf-restconf + diff --git a/test/csit/testplans/nic-basic.txt b/test/csit/testplans/nic-basic.txt new file mode 100644 index 0000000000..9ab4ef103f --- /dev/null +++ b/test/csit/testplans/nic-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/nic/basic \ No newline at end of file