#NEWLINE# def post_servers( self , body , **kw ) : #NEWLINE# #INDENT# assert_equal ( body . keys ( ) , [ 'server' ] ) #NEWLINE# assert_has_keys ( body [ 'server' ] , required = [ 'name' , 'imageId' , 'flavorId' ] , optional = [ 'sharedIpGroupId' , 'metadata' , 'personality' ] ) #NEWLINE# if ( 'personality' in body [ 'server' ] ) : #NEWLINE# #INDENT# for pfile in body [ 'server' ] [ 'personality' ] : #NEWLINE# #INDENT# assert_has_keys ( kw , required = [ 'path' , 'contents' ] ) #NEWLINE# #UNINDENT# #UNINDENT# return ( 202 , self . get_servers_1234 ( ) [ 1 ] )