Remove non-updatable attrs from SFC update test

ingress, egress and service_function_parameters were part of the
test_resource_handle_update(), testing the update of a networking-sfc
Port Pair. However, these attributes are not updatable from the
API definition and so are being removed from this test.

Change-Id: I88b197255eeae86331a9e52e872e6828ad93d6f6
changes/49/517649/2
Igor D.C 5 years ago
parent ca8a316458
commit 4a14b25dd2

@ -147,13 +147,7 @@ class PortPairTest(common.HeatTestCase):
'name-updated',
port_pair.PortPair.DESCRIPTION:
'description-updated',
port_pair.PortPair.INGRESS:
'6af055d3-26f6-48dd-a597-7611d7e58d35',
port_pair.PortPair.EGRESS:
'6af055d3-26f6-48dd-a597-7611d7e58d35',
port_pair.PortPair.SERVICE_FUNCTION_PARAMETERS:
{'correlation': None}
}
}
self.test_resource.handle_update(json_snippet=None,
tmpl_diff=None,
prop_diff=prop_diff)
@ -163,7 +157,4 @@ class PortPairTest(common.HeatTestCase):
{
'name': 'name-updated',
'description': 'description-updated',
'ingress': '6af055d3-26f6-48dd-a597-7611d7e58d35',
'egress': '6af055d3-26f6-48dd-a597-7611d7e58d35',
'service_function_parameters': {'correlation': None},
}, self.test_resource.resource_id)

Loading…
Cancel
Save