From 57a71ffb6430d3e82aa0ac75ffd0235538045da1 Mon Sep 17 00:00:00 2001 From: aleckey Date: Thu, 29 Oct 2015 14:01:14 +0000 Subject: [PATCH] Added CSIT Basic test to NetIDE - added full stop to end of line 2 Change-Id: I01f7511cbdf055339ea78a9183d191f9ee2a4f18 Signed-off-by: aleckey --- csit/suites/netide/basic/010_netide_endpoint.robot | 14 ++++++++++++++ csit/testplans/netide-basic.txt | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 csit/suites/netide/basic/010_netide_endpoint.robot create mode 100644 csit/testplans/netide-basic.txt diff --git a/csit/suites/netide/basic/010_netide_endpoint.robot b/csit/suites/netide/basic/010_netide_endpoint.robot new file mode 100644 index 0000000000..591f4dfcf9 --- /dev/null +++ b/csit/suites/netide/basic/010_netide_endpoint.robot @@ -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 index 0000000000..f04113efeb --- /dev/null +++ b/csit/testplans/netide-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/netide/basic -- 2.36.6