#NEWLINE# def test_include_push_status_when_done( self ) : #NEWLINE# #INDENT# push = dict ( self . basic_push ) #NEWLINE# push [ 'state' ] = 'live' #NEWLINE# tree = self . render_etree ( self . push_page , push_info = push , ** self . basic_kwargs ) #NEWLINE# found_h3 = [ ] #NEWLINE# for h3 in tree . iter ( 'h3' ) : #NEWLINE# #INDENT# T . assert_equal ( 'status-header' , h3 . attrib [ 'class' ] ) #NEWLINE# found_h3 . append ( h3 ) #NEWLINE# #UNINDENT# T . assert_equal ( 1 , len ( found_h3 ) )