cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sailajam...@apache.org
Subject git commit: updated refs/heads/master to d19a78d
Date Fri, 26 Sep 2014 07:27:16 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master f4ef83630 -> d19a78ddf


List ISO's test to verify default ISO's are listed always


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d19a78dd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d19a78dd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d19a78dd

Branch: refs/heads/master
Commit: d19a78ddf707397cee89cad076224752cc94e656
Parents: f4ef836
Author: sailajamada <sailaja.mada@citrix.com>
Authored: Fri Sep 26 12:45:41 2014 +0530
Committer: sailajamada <sailaja.mada@citrix.com>
Committed: Fri Sep 26 12:50:18 2014 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_iso.py | 34 ++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d19a78dd/test/integration/smoke/test_iso.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_iso.py b/test/integration/smoke/test_iso.py
index 3498ad7..4bd66b5 100644
--- a/test/integration/smoke/test_iso.py
+++ b/test/integration/smoke/test_iso.py
@@ -229,6 +229,21 @@ class TestISO(cloudstackTestCase):
 
         return
 
+
+    def get_iso_details(self,isoname):
+
+        #ListIsos to list default ISOS (VM and xen tools)
+        list_default_iso_response = list_isos(
+                                      self.apiclient,
+                                      name=isoname,
+                                      isready="true"
+                                      )
+        self.assertEqual(
+                         list_default_iso_response,
+                         None,
+                         "Check if ISO exists in ListIsos"
+                         )
+
     @attr(tags = ["advanced", "basic", "eip", "sg", "advancedns", "smoke"], required_hardware="false")
     def test_02_edit_iso(self):
         """Test Edit ISO
@@ -321,7 +336,7 @@ class TestISO(cloudstackTestCase):
                          "Check if ISO exists in ListIsos"
                          )
         return
-    
+
     @attr(tags = ["advanced", "basic", "eip", "sg", "advancedns"], required_hardware="true")
     def test_04_extract_Iso(self):
         "Test for extract ISO"
@@ -514,3 +529,20 @@ class TestISO(cloudstackTestCase):
         cmd.zoneid = self.services["destzoneid"]
         self.apiclient.deleteIso(cmd)
         return
+
+
+    @attr(tags = ["advanced", "basic", "eip", "sg", "advancedns"], required_hardware="false")
+    def test_07_list_default_iso(self):
+        """Test delete ISO
+        """
+
+        # Validate the following:
+        # list ISO should list default ISOS (VM and xen tools)
+
+
+        #ListIsos to list default ISOS (VM and xen tools)
+        list_xs__iso_response = self.get_iso_details("xs-tools.iso")
+        list_xs__iso_response = self.get_iso_details("vmware-tools.iso")
+
+
+        return


Mime
View raw message