Fixing provider security group cases

In with nsxv3 nsxp client was called.
Reverting chnage.

Change-Id: I9e21353adf87e34afc0a62dded6a1c181fcf7d9c
This commit is contained in:
shubhamk 2019-10-01 08:39:52 +00:00
parent ba8ce01da9
commit 5b6a2e4d36
1 changed files with 2 additions and 2 deletions

View File

@ -162,10 +162,10 @@ class ProviderSecurityGroupTest(base.BaseAdminNetworkTest):
if CONF.network.backend == 'nsxp':
self.assertNotEmpty(self.nsxp.get_firewall_section(
sg_name, sg_id, 'default'))
self.assertNotEmpty(self.nsx.get_firewall_section(sg_name, sg_id,
self.assertNotEmpty(self.nsxp.get_firewall_section(sg_name, sg_id,
nsxp=True))
else:
self.assertNotEmpty(self.nsxp.get_firewall_section(sg_name, sg_id))
self.assertNotEmpty(self.nsx.get_firewall_section(sg_name, sg_id))
@decorators.attr(type='nsxv3')
@decorators.idempotent_id('2c8d013d-4c0b-4d2b-b77c-779351a789ce')