From: Sam Hague Date: Fri, 12 Oct 2018 14:14:37 +0000 (-0400) Subject: Add basic odltools csit X-Git-Tag: pre-potassium~520 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=4820c2ad8b40e6973ecd3c98b4b24de870b7db34 Add basic odltools csit Change-Id: Iddf3c146ae630b859fd7357377dfd85b087086c5 Signed-off-by: Sam Hague --- diff --git a/csit/libraries/ODLTools.robot b/csit/libraries/ODLTools.robot index ebd26d1512..5b76bbe6d9 100644 --- a/csit/libraries/ODLTools.robot +++ b/csit/libraries/ODLTools.robot @@ -1,5 +1,6 @@ *** Settings *** Documentation Robot wrapper around ODLTools. +Library OperatingSystem Resource ../variables/Variables.robot *** Keywords *** diff --git a/csit/suites/odltools/basic.robot b/csit/suites/odltools/basic.robot new file mode 100644 index 0000000000..98b69997f1 --- /dev/null +++ b/csit/suites/odltools/basic.robot @@ -0,0 +1,18 @@ +*** Settings *** +Documentation Test suite to verify odltools +Resource ../../libraries/ODLTools.robot + +*** Test Cases *** +Verify Installation + [Documentation] Verify odltools has been installed by calling the version cli + ${output} = ODLTools.Version + BuiltIn.Should_Contain ${output} (version + +Verify Get EOS + [Documentation] Verify the show eos cli + ${output} = ODLTools.Get EOS + BuiltIn.Should_Contain ${output} Entity Ownership Service + +Verify Get Cluster Info + [Documentation] Verify the show cluster-info cli + ${output} = ODLTools.Get Cluster Info diff --git a/csit/testplans/odltools-basic.txt b/csit/testplans/odltools-basic.txt new file mode 100644 index 0000000000..8a00448fd8 --- /dev/null +++ b/csit/testplans/odltools-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/odltools/basic.robot