Fix domain deletion in test_project_resources.py

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a019f34572ef591b238adb256a0036565bb21579)
This commit is contained in:
Prasanna Santhanam 2013-07-28 11:24:25 +05:30
parent 1fb513e783
commit 3fec71e748
4 changed files with 4 additions and 5 deletions

View File

@ -784,8 +784,7 @@ class TestSnapshots(cloudstackTestCase):
cls._cleanup = [ cls._cleanup = [
cls.project, cls.project,
cls.service_offering, cls.service_offering,
cls.account, cls.account
cls.domain
] ]
return return

View File

@ -1203,7 +1203,7 @@ class TestProjectResources(cloudstackTestCase):
raise Exception("Warning: Exception during cleanup : %s" % e) raise Exception("Warning: Exception during cleanup : %s" % e)
return return
@attr(tags = ["advanced", "basic", "sg", "eip", "advancedns", "simulator", "needle"]) @attr(tags = ["advanced", "basic", "sg", "eip", "advancedns", "simulator"])
def test_07_project_resources_account_delete(self): def test_07_project_resources_account_delete(self):
""" Test Verify after an account is removed from the project, all its resources stay with the project. """ Test Verify after an account is removed from the project, all its resources stay with the project.
""" """

View File

@ -211,7 +211,7 @@ class TestLoadBalance(cloudstackTestCase):
time.sleep(self.services["lb_switch_wait"]) time.sleep(self.services["lb_switch_wait"])
return return
@attr(tags = ["advanced", "advancedns", "smoke", "needle"]) @attr(tags = ["advanced", "advancedns", "smoke"])
def test_01_create_lb_rule_src_nat(self): def test_01_create_lb_rule_src_nat(self):
"""Test to create Load balancing rule with source NAT""" """Test to create Load balancing rule with source NAT"""

View File

@ -696,7 +696,7 @@ class TestVMLifeCycle(cloudstackTestCase):
) )
return return
@attr(tags = ["advanced", "advancedns", "smoke", "basic", "sg", "needle"]) @attr(tags = ["advanced", "advancedns", "smoke", "basic", "sg"])
def test_10_attachAndDetach_iso(self): def test_10_attachAndDetach_iso(self):
"""Test for attach and detach ISO to virtual machine""" """Test for attach and detach ISO to virtual machine"""