You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2014/09/28 11:40:37 UTC
[37/50] [abbrv] git commit: updated
refs/heads/statscollector-graphite to 621156c
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/statscollector-graphite
Commit: d19a78ddf707397cee89cad076224752cc94e656
Parents: f4ef836
Author: sailajamada <sa...@citrix.com>
Authored: Fri Sep 26 12:45:41 2014 +0530
Committer: sailajamada <sa...@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