Add basic odltools csit 38/76938/7
authorSam Hague <shague@redhat.com>
Fri, 12 Oct 2018 14:14:37 +0000 (10:14 -0400)
committerSam Hague <shague@redhat.com>
Fri, 12 Oct 2018 19:48:05 +0000 (19:48 +0000)
Change-Id: Iddf3c146ae630b859fd7357377dfd85b087086c5
Signed-off-by: Sam Hague <shague@redhat.com>
csit/libraries/ODLTools.robot
csit/suites/odltools/basic.robot [new file with mode: 0644]
csit/testplans/odltools-basic.txt [new file with mode: 0644]

index ebd26d1512637903c3bb35c60893c9df932c2d3c..5b76bbe6d9d23f7b95d8346700854523272e6402 100644 (file)
@@ -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 (file)
index 0000000..98b6999
--- /dev/null
@@ -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 (file)
index 0000000..8a00448
--- /dev/null
@@ -0,0 +1,2 @@
+# Place the suites in run order:
+integration/test/csit/suites/odltools/basic.robot