#NEWLINE# def test_create_servicechain_instance_with_defaults( self ) : #NEWLINE# #INDENT# servicechain_instance_id = _uuid ( ) #NEWLINE# data = { #NEWLINE# #INDENT# 'servicechain_instance' : { #NEWLINE# #INDENT# 'servicechain_specs' : [ _uuid ( ) ] , #NEWLINE# 'tenant_id' : _uuid ( ) , #NEWLINE# 'provider_ptg_id' : _uuid ( ) , #NEWLINE# 'consumer_ptg_id' : _uuid ( ) , #NEWLINE# 'management_ptg_id' : _uuid ( ) , #NEWLINE# 'classifier_id' : _uuid ( ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# default_attrs = cm . get_create_servicechain_instance_default_attrs ( ) #NEWLINE# default_data = copy . copy ( data ) #NEWLINE# default_data [ 'servicechain_instance' ] . update ( default_attrs ) #NEWLINE# expected_value = dict ( default_data [ 'servicechain_instance' ] ) #NEWLINE# expected_value [ 'id' ] = servicechain_instance_id #NEWLINE# self . _test_create_servicechain_instance ( data , expected_value , default_attrs )