mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Automation: More fix for test_vpc_network_lbrules.py
This commit is contained in:
parent
6ec9a44429
commit
bb95624708
@ -975,14 +975,10 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
|
||||
public_ip_1 = self.acquire_Public_IP(network_1)
|
||||
lb_rule = self.create_LB_Rule(public_ip_1, network_1, [vm_2, vm_1])
|
||||
public_ip_1.delete(self.apiclient)
|
||||
lb_rules = LoadBalancerRule.list(self.apiclient,
|
||||
|
||||
with self.assertRaises(Exception):
|
||||
lb_rules = LoadBalancerRule.list(self.apiclient,
|
||||
id=lb_rule.id,
|
||||
listall=True
|
||||
)
|
||||
self.assertEqual(lb_rules,
|
||||
None,
|
||||
"Failed LB rule is present on the VR"
|
||||
)
|
||||
|
||||
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user