Skip to content

Commit

Permalink
Restore test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Sep 11, 2012
1 parent ef403a1 commit 9dd7457
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/PaginatedList.py
Expand Up @@ -21,6 +21,12 @@ def setUp( self ):
def testIteration( self ):
self.assertEqual( len( list( self.list ) ), 333 )

def testSeveralIterations( self ):
self.assertEqual( len( list( self.list ) ), 333 )
self.assertEqual( len( list( self.list ) ), 333 )
self.assertEqual( len( list( self.list ) ), 333 )
self.assertEqual( len( list( self.list ) ), 333 )

def testIntIndexingInFirstPage( self ):
self.assertEqual( self.list[ 0 ].id, 4772349 )
self.assertEqual( self.list[ 24 ].id, 4286936 )
Expand Down

0 comments on commit 9dd7457

Please sign in to comment.