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:22:58 UTC

[5/6] git commit: updated refs/heads/master to 18fbbcf

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>
(cherry picked from commit ce4dd723ab486894523f08f48b6054f614be4d85)


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

Branch: refs/heads/master
Commit: 323db5c51737f995a8edfd2ba23afbf2836c971c
Parents: 5fa77f3
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 19:36:27 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/323db5c5/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(