You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/07/22 19:23:26 UTC

[6/6] git commit: updated refs/heads/4.2 to b44c620

CLOUDSTACK-3672: Multiple minor fixes to tags tests

- SourceHost is an id
- Invalid format in debug() message corrected

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


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

Branch: refs/heads/4.2
Commit: d0695c1ffcf2bc45d7963b5ff833d977a76fd31d
Parents: 3ac0e95
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Mon Jul 22 14:50:45 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Mon Jul 22 22:53:09 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_tags.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d0695c1f/test/integration/component/test_tags.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_tags.py b/test/integration/component/test_tags.py
index 52df6da..f10641b 100644
--- a/test/integration/component/test_tags.py
+++ b/test/integration/component/test_tags.py
@@ -1083,12 +1083,12 @@ class TestResourceTags(cloudstackTestCase):
                          'CentOS',
                          'The tag should have original value'
                          )
-        
         isos = Iso.list(
                         self.apiclient,
-                        listall=True,
                         key='OS',
-                        value='CentOS'
+                        value='CentOS',
+                        account=self.account.name,
+                        domainid=self.account.domainid
                     )
 
         self.assertEqual(
@@ -1096,7 +1096,7 @@ class TestResourceTags(cloudstackTestCase):
                          True,
                          "List isos should not return an empty response"
                          )
-    
+
         self.debug("Deleting the created tag..")
         try:
             tag.delete(
@@ -1454,14 +1454,14 @@ class TestResourceTags(cloudstackTestCase):
 
         self.debug("Available hosts: ")
         for host in hosts:
-            self.debug("Host: %s", host.id)
+            self.debug("Host: %s" % host.id)
 
             # Filtering out the source host from list host response
             temp_hosts = [host for host in hosts if host.id != source_host]
             dest_host = temp_hosts[0]
 
             self.debug("Destination host is: %s" % dest_host.id)
-            self.debug("Source host is: %s" % source_host.id)
+            self.debug("Source host is: %s" % source_host)
 
         self.debug("Creating a tag for user VM")
         tag = Tag.create(