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
This commit is contained in:
Igor D.C 2017-11-03 16:02:11 +00:00
parent ca8a316458
commit 4a14b25dd2
1 changed files with 1 additions and 10 deletions

View File

@ -147,12 +147,6 @@ 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,
@ -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)