#NEWLINE# def test_prepare_commands( self ) : #NEWLINE# #INDENT# lil = Pool ( workers = 2 ) #NEWLINE# commands = [ ] #NEWLINE# lil . prepare_commands ( commands ) #NEWLINE# self . assertEqual ( len ( lil . commands ) , 0 ) #NEWLINE# commands = [ 'ls' , 'cd /tmp' ] #NEWLINE# lil . prepare_commands ( commands ) #NEWLINE# self . assertEqual ( len ( lil . commands ) , 2 )