#NEWLINE# def test_process_create_duplicated_securitygroup_id( self ) : #NEWLINE# #INDENT# values = self . _get_base_values ( ) #NEWLINE# try : #NEWLINE# #INDENT# db . process_create ( self . user_ctxt , values , [ self . network [ 'network_id' ] ] , [ self . securitygroup [ 'securitygroup_id' ] , self . securitygroup [ 'securitygroup_id' ] ] ) #NEWLINE# #UNINDENT# except exception . InvalidInput as e : #NEWLINE# #INDENT# status_code = self . code #NEWLINE# #UNINDENT# self . assertEqual ( status_code , 400 )