From e38a0c2bd13e7fde9259a9925ed90b2aaa4e178b Mon Sep 17 00:00:00 2001 From: ShreshthaJoshi Date: Thu, 5 Nov 2015 15:57:12 +0530 Subject: [PATCH] updating test repository for Centinel Change-Id: I1b756f5933573ce6b77a4d832356628e93de4b90 Signed-off-by: ShreshthaJoshi --- .../centinel/basic/010_Restconf_OK.robot | 18 ++++++++++++++++++ csit/testplans/centinel-basic.txt | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 csit/suites/centinel/basic/010_Restconf_OK.robot create mode 100644 csit/testplans/centinel-basic.txt diff --git a/csit/suites/centinel/basic/010_Restconf_OK.robot b/csit/suites/centinel/basic/010_Restconf_OK.robot new file mode 100644 index 0000000000..4d19667e2d --- /dev/null +++ b/csit/suites/centinel/basic/010_Restconf_OK.robot @@ -0,0 +1,18 @@ +*** 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.robot + +*** 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/csit/testplans/centinel-basic.txt b/csit/testplans/centinel-basic.txt new file mode 100644 index 0000000000..14fe03b3d5 --- /dev/null +++ b/csit/testplans/centinel-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/integration/basic -- 2.36.6