#NEWLINE# def test_collect_jobs_handoffs_first( self ) : #NEWLINE# #INDENT# self . replicator . handoffs_first = True #NEWLINE# jobs = self . replicator . collect_jobs ( ) #NEWLINE# self . assertTrue ( jobs [ 0 ] [ 'delete' ] ) #NEWLINE# self . assertEqual ( '1' , jobs [ 0 ] [ 'partition' ] )