#NEWLINE# def test_paginated_custom_paginator_class( self ) : #NEWLINE# #INDENT# self . _make_authors ( 7 ) #NEWLINE# res = self . client . get ( '/list/authors/paginated/custom_class/' ) #NEWLINE# self . assertEqual ( self . status_code , 200 ) #NEWLINE# self . assertEqual ( res . context [ 'paginator' ] . num_pages , 1 ) #NEWLINE# self . assertEqual ( len ( res . context [ 'object_list' ] ) , 7 )