#NEWLINE# def test_delete_without_redirect( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# a = Author . objects . create ( name = 'Randall Munroe' , slug = 'randall-munroe' ) #NEWLINE# res = self . client . post ( ( '/edit/author/%d/delete/naive/' % self . pk ) ) #NEWLINE# self . fail ( 'Should raise exception -- No redirect URL provided, and no get_absolute_url provided' ) #NEWLINE# #UNINDENT# except ImproperlyConfigured : #NEWLINE# #INDENT# pass