#NEWLINE# def test_sync_allocations_no_op( self ) : #NEWLINE# #INDENT# def verify_no_chunk( iterable , chunk_size ) : #NEWLINE# #INDENT# self . assertEqual ( 0 , len ( list ( iterable ) ) ) #NEWLINE# return [ ] #NEWLINE# #UNINDENT# with mock . patch . object ( type_tunnel , 'chunks' , side_effect = verify_no_chunk ) as chunks : #NEWLINE# #INDENT# self . driver . sync_allocations ( ) #NEWLINE# self . assertEqual ( 2 , len ( chunks . mock_calls ) )