From 5abed59473415338c89fdf70e941e01c780bfbb9 Mon Sep 17 00:00:00 2001 From: A H Date: Thu, 15 Oct 2015 00:07:47 -0700 Subject: [PATCH] Add basic test suite for nemo Change-Id: Icdcf79418941590e169cd4f59438a98bcfd98812 Signed-off-by: A H --- csit/suites/nemo/engine/NEMO_ENGINE.robot | 19 +++++++++++++++++++ csit/testplans/nemo-engine.txt | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 csit/suites/nemo/engine/NEMO_ENGINE.robot create mode 100644 csit/testplans/nemo-engine.txt 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 -- 2.36.6