#NEWLINE# def test_page_list( self ) : #NEWLINE# #INDENT# template = '{% paginate objects %}{% get_pages %}' #NEWLINE# ( html , context ) = self . render ( self . request ( ) , template ) #NEWLINE# self . assertEqual ( '' , html ) #NEWLINE# self . assertIn ( 'pages' , context ) #NEWLINE# self . assertIsInstance ( context [ 'pages' ] , PageList )