#NEWLINE# def test_default_ordering( self ) : #NEWLINE# #INDENT# " Tests that pagination works using just the model's default ordering. " #NEWLINE# paginator = Paginator ( TestUser . objects . all ( ) , 1 , readahead = 2 ) #NEWLINE# paginator . page ( 1 ) #NEWLINE# self . assertEqual ( [ self . u1 , self . u2 , self . u3 , self . u4 ] , list ( paginator . object_list ) )