#NEWLINE# def test_update_no_body( self ) : #NEWLINE# #INDENT# request_body = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# url = ( ( ( '/v1/groups/' + GID ) + '/keypairs/' ) + KEYPAIR_ID ) #NEWLINE# req = get_request ( url , 'PUT' , request_body ) #NEWLINE# res = req . get_response ( self . app ) #NEWLINE# self . assertEqual ( res . status_code , 400 )