#NEWLINE# def test_del_data_getone( self ) : #NEWLINE# #INDENT# issue = modelfactories . IssueFactory . create ( ) #NEWLINE# response = self . app . delete ( ( '/api/v2/issues/%s/' % issue . pk ) , extra_environ = self . extra_environ , status = 405 ) #NEWLINE# self . assertEqual ( response . status_code , 405 )