From 335202a2840ab8e40fbc1df1a56703793d284287 Mon Sep 17 00:00:00 2001 From: adetalhouet Date: Wed, 14 Oct 2015 17:09:34 -0400 Subject: [PATCH] Added testplan and basic test suite for armoury Change-Id: I404fddd4d571e51c581662ff03e60e2101bf0c8d Signed-off-by: adetalhouet --- csit/suites/armoury/basic/010_Restconf_OK.robot | 16 ++++++++++++++++ csit/testplans/armoury.txt | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 csit/suites/armoury/basic/010_Restconf_OK.robot create mode 100644 csit/testplans/armoury.txt diff --git a/csit/suites/armoury/basic/010_Restconf_OK.robot b/csit/suites/armoury/basic/010_Restconf_OK.robot new file mode 100644 index 0000000000..7f9cede557 --- /dev/null +++ b/csit/suites/armoury/basic/010_Restconf_OK.robot @@ -0,0 +1,16 @@ +*** 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 +Library ../../../libraries/Common.py +Variables ../../../variables/Variables.py +Resource ../../../libraries/Utils.robot + +*** Test Cases *** +Get Controller Modules + [Documentation] Get the controller modules via Restconf + ${resp} RequestsLibrary.Get session ${MODULES_API} + Log ${resp.content} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} ietf-restconf diff --git a/csit/testplans/armoury.txt b/csit/testplans/armoury.txt new file mode 100644 index 0000000000..7a617ddd93 --- /dev/null +++ b/csit/testplans/armoury.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/armoury/basic \ No newline at end of file -- 2.36.6