mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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:
parent
1fb513e783
commit
3fec71e748
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -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"""
|
||||||
|
|
||||||
|
|||||||
@ -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"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user