Add standard_attr_id to sg rules unit tests

Commit Ia16335a2fc8f9324b9489692c76a73e4ef5bef96 broke it

Change-Id: I41932d0e5ebedeae137afd8196e46419e745262f
This commit is contained in:
asarfaty 2020-11-20 09:30:02 +02:00
parent 85e682be3d
commit 3825afcf94

View File

@ -128,7 +128,8 @@ class TestNSXv3ExtendedSGRule(test_nsxv3_plugin.NsxV3PluginTestCaseMixin,
'port_range_max': None,
'security_group_id': mock.ANY,
'remote_group_id': None, 'direction': u'ingress',
'description': ''}]
'description': '',
'standard_attr_id': mock.ANY}]
with mock.patch(
"vmware_nsxlib.v3.security.NsxLibFirewallSection."
@ -171,7 +172,8 @@ class TestNSXv3ExtendedSGRule(test_nsxv3_plugin.NsxV3PluginTestCaseMixin,
'security_group_id': mock.ANY,
'remote_group_id': None,
'direction': u'ingress',
'description': ''}]
'description': '',
'standard_attr_id': mock.ANY}]
with mock.patch(
"vmware_nsxlib.v3.security.NsxLibFirewallSection."