sg get output does not need realization_id after delete

Change-Id: I5e6ce245a13b9606f7a3c1e200dea765c96dcd85
This commit is contained in:
dkumbhar 2021-08-18 18:27:42 +00:00
parent 1c92e82ee0
commit d4f77d9979
1 changed files with 0 additions and 4 deletions

View File

@ -250,14 +250,10 @@ class NSXv3SecGroupTest(base.BaseSecGroupTest):
secgroup['name'], secgroup['id'],
os_tenant_id='default')
self.assertIsNone(nsx_nsgroup_policy)
if 'realization_id' in nsx_nsgroup_policy.keys():
self.assertIsNotNone(nsx_nsgroup_policy['realization_id'])
nsx_dfw_section_policy = self.nsxp.get_firewall_section(
secgroup['name'], secgroup['id'],
os_tenant_id='default')
self.assertIsNone(nsx_dfw_section_policy, dfw_error_msg)
if 'realization_id' in nsx_dfw_section_policy.keys():
self.assertIsNotNone(nsx_dfw_section_policy['realization_id'])
nsx_nsgroup = self.nsxp.get_ns_group(
secgroup['name'], secgroup['id'], nsxp=True,
os_tenant_id='default')