Added testplan and basic test suite for armoury 14/28414/2
authoradetalhouet <adetalhouet@inocybe.com>
Wed, 14 Oct 2015 21:09:34 +0000 (17:09 -0400)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 16 Oct 2015 04:00:22 +0000 (04:00 +0000)
Change-Id: I404fddd4d571e51c581662ff03e60e2101bf0c8d
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
csit/suites/armoury/basic/010_Restconf_OK.robot [new file with mode: 0644]
csit/testplans/armoury.txt [new file with mode: 0644]

diff --git a/csit/suites/armoury/basic/010_Restconf_OK.robot b/csit/suites/armoury/basic/010_Restconf_OK.robot
new file mode 100644 (file)
index 0000000..7f9cede
--- /dev/null
@@ -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 (file)
index 0000000..7a617dd
--- /dev/null
@@ -0,0 +1,2 @@
+# Place the suites in run order:
+integration/test/csit/suites/armoury/basic
\ No newline at end of file