#NEWLINE# def test_delete_method_to_destroy_a_resource( self ) : #NEWLINE# #INDENT# response = self . delete ( self . get_url ( '/api/1' ) ) #NEWLINE# assert_response_code ( response , 200 ) #NEWLINE# response = self . delete ( self . get_url ( '/api/1' ) ) #NEWLINE# assert_response_code ( self , 404 )