Added CSIT Basic test to NetIDE 48/28948/5
authoraleckey <alexander.j.leckey@intel.com>
Thu, 29 Oct 2015 14:01:14 +0000 (14:01 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 4 Nov 2015 16:43:50 +0000 (16:43 +0000)
- added full stop to end of line 2

Change-Id: I01f7511cbdf055339ea78a9183d191f9ee2a4f18
Signed-off-by: aleckey <alexander.j.leckey@intel.com>
csit/suites/netide/basic/010_netide_endpoint.robot [new file with mode: 0644]
csit/testplans/netide-basic.txt [new file with mode: 0644]

diff --git a/csit/suites/netide/basic/010_netide_endpoint.robot b/csit/suites/netide/basic/010_netide_endpoint.robot
new file mode 100644 (file)
index 0000000..591f4df
--- /dev/null
@@ -0,0 +1,14 @@
+*** Settings ***
+Documentation     Test suite to verify Restconf is OK for NetIDE.
+Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
+Suite Teardown    Delete All Sessions
+Library           RequestsLibrary
+Variables         ../../../variables/Variables.py
+
+*** 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/netide-basic.txt b/csit/testplans/netide-basic.txt
new file mode 100644 (file)
index 0000000..f04113e
--- /dev/null
@@ -0,0 +1,2 @@
+# Place the suites in run order:
+integration/test/csit/suites/netide/basic