#NEWLINE# def test_delete( self ) : #NEWLINE# #INDENT# 'should return 405 Method Not Allowed' #NEWLINE# response = self . delete ( '/admin/api/v1/service-lists' ) #NEWLINE# self . assertEquals ( response . status_code , 405 ) #NEWLINE# self . assertEquals ( self . headers [ 'Content-Type' ] , 'application/json' )