#NEWLINE# def test_contact_delete( self ) : #NEWLINE# #INDENT# 'Test page with login at /contacts/contact/delete/<contact_id>/' #NEWLINE# response = self . client . post ( '/accounts/login' , { #NEWLINE# #INDENT# 'username' : self . username , #NEWLINE# 'password' : self . password , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertRedirects ( self , '/' ) #NEWLINE# response = self . client . get ( reverse ( 'identities_contact_delete' , args = [ self . contact . id ] ) ) #NEWLINE# self . assertEquals ( response . status_code , 200 )