#NEWLINE# def test_delete_object( self ) : #NEWLINE# #INDENT# '\n        Verifies the object actually gets deleted on a POST.\n        ' #NEWLINE# view_url = '/create_update/delete/article/old_article/' #NEWLINE# response = self . client . post ( view_url ) #NEWLINE# try : #NEWLINE# #INDENT# Article . objects . get ( slug = 'old_article' ) #NEWLINE# #UNINDENT# except Article . DoesNotExist : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fail ( 'Object was not deleted.' )