#NEWLINE# def test_view_ok( self ) : #NEWLINE# #INDENT# post = Post . objects . create ( title = 'A Post Title' , body = 'body' ) #NEWLINE# response = self . client . get ( reverse ( 'admin2:blog_post_delete' , args = ( post . pk , ) ) ) #NEWLINE# self . assertContains ( response , self . title )