CLOUDSTACK-3900: Remove the offering that is deleted before cleanup

One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-07-29 15:55:39 +05:30
parent 08c82883f6
commit d66edb5e2b
1 changed files with 1 additions and 3 deletions

View File

@ -303,7 +303,6 @@ class TestVPCOffering(cloudstackTestCase):
)
# Enable Network offering
self.network_offering.update(self.apiclient, state='Enabled')
self.cleanup.append(self.network_offering)
gateway = vpc.cidr.split('/')[0]
# Split the cidr to retrieve gateway
@ -1006,7 +1005,7 @@ class TestVPCOffering(cloudstackTestCase):
)
return
@attr(tags=["advanced", "intervlan"])
@attr(tags=["advanced", "intervlan", "needle"])
def test_08_list_vpc_off(self):
"""Test list VPC offering"""
@ -1061,7 +1060,6 @@ class TestVPCOffering(cloudstackTestCase):
self.apiclient,
self.services["vpc_offering"]
)
self.cleanup.append(vpc_off_4)
self.debug("Enabling the VPC offering created")
vpc_off_4.update(self.apiclient, state='Enabled')