#NEWLINE# def test_put_data( self ) : #NEWLINE# #INDENT# ' method PUT not allowed ' #NEWLINE# response = self . app . delete ( response . api_path , extra_environ = self . extra_environ , status = 405 ) #NEWLINE# self . assertEqual ( response . status_code , 405 )