Repository: cloudstack
Updated Branches:
  refs/heads/master dda282055 -> adcfdf254


CLOUDSTACK-7241: Fixed error in test_escalations_ipaddresses.py

Signed-off-by: Santhosh Edukulla <santhosh.eduku...@gmail.com>


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

Branch: refs/heads/master
Commit: adcfdf2547ffccced8bcb06a627274bbb0664d7c
Parents: dda2820
Author: Gaurav Aradhye <gaurav.arad...@clogeny.com>
Authored: Tue Aug 5 14:25:51 2014 +0530
Committer: Santhosh Edukulla <santhosh.eduku...@gmail.com>
Committed: Wed Aug 6 15:29:35 2014 +0530

----------------------------------------------------------------------
 .../component/test_escalations_ipaddresses.py   | 30 +++++++-------------
 1 file changed, 10 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/adcfdf25/test/integration/component/test_escalations_ipaddresses.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_ipaddresses.py 
b/test/integration/component/test_escalations_ipaddresses.py
index 66be52e..6c9b24b 100644
--- a/test/integration/component/test_escalations_ipaddresses.py
+++ b/test/integration/component/test_escalations_ipaddresses.py
@@ -1530,8 +1530,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "Failed to list Instance available to asign a Load 
Balancer Rule"
                           )
         # Destroying the VM Launched
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -1994,8 +1993,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "Port Forwarding Rules listed after deletion"
                           )
         # Destroying the VM Launched
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -2218,8 +2216,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "Port Forwarding Rules listed after deletion"
                           )
         # Destroying the VM Launched
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -2779,8 +2776,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "VPN User listed after deletion"
                           )
         # Destroying the VM
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -2956,8 +2952,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "Failed to Disable Static Nat"
                           )
         # Destroying the VM
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -3157,8 +3152,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "Failed to Disable Static Nat"
                           )
         # Destroying the VM
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -3366,8 +3360,7 @@ class TestIpAddresses(cloudstackTestCase):
                           "IP Forwardign Rule listed after deletion"
                           )
         # Destroying the VM
-        vm_created.delete(self.userapiclient)
-        vm_created.expung(self.apiClient)
+        vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -3645,8 +3638,7 @@ class TestIpAddresses(cloudstackTestCase):
                               "Autoscale Policy not updated to given condition"
                               )
             # Destroying the VM
-            vm_created.delete(self.userapiclient)
-            vm_created.expung(self.apiClient)
+            vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -3966,8 +3958,7 @@ class TestIpAddresses(cloudstackTestCase):
                               "Failed to update destroy vm grace period"
                               )
             # Destroying the VM
-            vm_created.delete(self.userapiclient)
-            vm_created.expung(self.apiClient)
+            vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return
 
@@ -4312,7 +4303,6 @@ class TestIpAddresses(cloudstackTestCase):
                               "Enabled VM Group state is not matching"
                               )
             # Destroying the VM
-            vm_created.delete(self.userapiclient)
-            vm_created.expung(self.apiClient)
+            vm_created.delete(self.apiClient)
         self.cleanup.append(self.account)
         return

Reply via email to