#NEWLINE# def test_index_view_with_two_past_polls( self ) : #NEWLINE# #INDENT# '\n        The polls index page may display multiple polls.\n        ' #NEWLINE# create_poll ( question = 'Past poll 1.' , days = ( - 30 ) ) #NEWLINE# create_poll ( question = 'Past poll 2.' , days = ( - 5 ) ) #NEWLINE# response = self . client . get ( reverse ( 'polls:index' ) ) #NEWLINE# self . assertQuerysetEqual ( response . context [ 'latest_poll_list' ] , [ '<Poll: Past poll 2.>' , '<Poll: Past poll 1.>' ] )