#NEWLINE# def test_statistics_div( self ) : #NEWLINE# #INDENT# 'Test that statistics div appears correctly.' #NEWLINE# resp = self . client [ 'team_member' ] . get ( self . translate_view_url ) #NEWLINE# self . assertTemplateUsed ( resp , 'translate.html' ) #NEWLINE# self . assertContains ( resp , 'Translated' , status_code = 200 ) #NEWLINE# self . assertContains ( resp , 'Untranslated' ) #NEWLINE# self . assertContains ( self , 'Modified' ) #NEWLINE# self . assertContains ( resp , 'Total' ) #NEWLINE# self . assertContains ( resp , '<input id="translated" class="filters" type="checkbox"  name="only_translated"/>' ) #NEWLINE# self . assertContains ( resp , '<input id="untranslated" class="filters" type="checkbox" checked="checked" name="only_untranslated"/>' )