CLOUDSTACK-7386: Fixed cleanup issue in test_escalations_volumes.py

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

Branch: refs/heads/saml2
Commit: a67bc4975a709f7e1aaaf6fc6982983ae560a32f
Parents: c4a32d9
Author: Gaurav Aradhye <gaurav.arad...@clogeny.com>
Authored: Thu Aug 21 20:50:16 2014 +0530
Committer: Girish Shilamkar <gir...@clogeny.com>
Committed: Fri Aug 22 13:40:15 2014 +0530

----------------------------------------------------------------------
 test/integration/component/test_escalations_volumes.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a67bc497/test/integration/component/test_escalations_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_volumes.py 
b/test/integration/component/test_escalations_volumes.py
index d1dae12..9442ebc 100644
--- a/test/integration/component/test_escalations_volumes.py
+++ b/test/integration/component/test_escalations_volumes.py
@@ -1523,6 +1523,7 @@ class TestVolumes(cloudstackTestCase):
                                  )
         # Deleting a single snapshot and verifying that snapshot does not 
exists on page 2
         Snapshot.delete(snapshot_created, self.userapiclient)
+        self.cleanup.remove(snapshot_created)
  
         list_snapshot_page2 = Snapshot.list(
                                             self.userapiclient,
@@ -1700,4 +1701,4 @@ class TestVolumes(cloudstackTestCase):
                           len(list_volumes_after),
                           "upload volume failed"
                           )
-        return
\ No newline at end of file
+        return

Reply via email to