#NEWLINE# def test_delete( self ) : #NEWLINE# #INDENT# resp = self . app . delete ( reverse ( 'ReleaseNetworksHandler' , kwargs = { #NEWLINE# #INDENT# 'obj_id' : self . release . id , #NEWLINE# #UNINDENT# } ) , headers = resp . default_headers , expect_errors = True ) #NEWLINE# self . assertEqual ( resp . status_code , 405 )