#NEWLINE# def test_create_port_generate_uuid( self ) : #NEWLINE# #INDENT# pdict = post_get_test_port ( ) #NEWLINE# del pdict [ 'uuid' ] #NEWLINE# response = self . post_json ( '/ports' , pdict ) #NEWLINE# result = self . get_json ( ( '/ports/%s' % response . json [ 'uuid' ] ) ) #NEWLINE# self . assertEqual ( pdict [ 'address' ] , result [ 'address' ] ) #NEWLINE# self . assertTrue ( uuidutils . is_uuid_like ( result [ 'uuid' ] ) )