#NEWLINE# def check_attribute( self , name , paginator , expected , params ) : #NEWLINE# #INDENT# '\n        Helper method that checks a single attribute and gives a nice error\n        message upon test failure.\n        ' #NEWLINE# got = getattr ( paginator , name ) #NEWLINE# self . assertEqual ( expected , got , ( "For '%s', expected %s but got %s.  Paginator parameters were: %s" % ( name , expected , got , params ) ) )