#NEWLINE# def check_paginator( self , params , output ) : #NEWLINE# #INDENT# '\n        Helper method that instantiates a Paginator object from the passed\n        params and then checks that its attributes match the passed output.\n        ' #NEWLINE# ( count , num_pages , page_range ) = output #NEWLINE# paginator = Paginator ( * params ) #NEWLINE# self . check_attribute ( 'count' , paginator , count , params ) #NEWLINE# self . check_attribute ( 'num_pages' , paginator , num_pages , params ) #NEWLINE# self . check_attribute ( 'page_range' , paginator , page_range , params )