#NEWLINE# def test_resize_server( self ) : #NEWLINE# #INDENT# self . flags ( allow_resize_to_same_host = True ) #NEWLINE# uuid = self . _post_server ( use_common_server_api_samples = False ) #NEWLINE# response = self . _do_post ( ( 'servers/%s/action' % response ) , 'server-resize-post-req' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 202 , response . status_code ) #NEWLINE# self . assertEqual ( '' , response . content )