#NEWLINE# def test_renderer_published( self ) : #NEWLINE# #INDENT# Post . objects . create ( title = 'title' , body = 'body' , published = True ) #NEWLINE# response = self . client . get ( reverse ( 'admin2:blog_post_index' ) ) #NEWLINE# self . assertContains ( response , 'icon-ok-sign' )