#NEWLINE# def test_page_jump_updates_count_correctly( self ) : #NEWLINE# #INDENT# paginator = Paginator ( TestUser . objects . all ( ) . order_by ( 'first_name' ) , 1 , readahead = 1 ) #NEWLINE# paginator . page ( 1 ) #NEWLINE# self . assertEqual ( 2 , paginator . count ) #NEWLINE# paginator . page ( 3 ) #NEWLINE# self . assertEqual ( 4 , paginator . count )