From: A H Date: Thu, 15 Oct 2015 07:07:47 +0000 (-0700) Subject: Add basic test suite for nemo X-Git-Tag: release/lithium-sr3~97 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=5abed59473415338c89fdf70e941e01c780bfbb9;p=integration%2Ftest.git Add basic test suite for nemo Change-Id: Icdcf79418941590e169cd4f59438a98bcfd98812 Signed-off-by: A H --- diff --git a/csit/suites/nemo/engine/NEMO_ENGINE.robot b/csit/suites/nemo/engine/NEMO_ENGINE.robot new file mode 100644 index 0000000000..b95bfa47fe --- /dev/null +++ b/csit/suites/nemo/engine/NEMO_ENGINE.robot @@ -0,0 +1,19 @@ +*** Settings *** +Documentation Test suite for nemo engine functionality +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 + +*** 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/nemo-engine.txt b/csit/testplans/nemo-engine.txt new file mode 100644 index 0000000000..82e352a2fe --- /dev/null +++ b/csit/testplans/nemo-engine.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/nemo/engine