#NEWLINE# def test_folders( setup , launcher ) : #NEWLINE# #INDENT# A = TestDriver ( 'A' , folders = { #NEWLINE# #INDENT# 'foo' : 'foo' , #NEWLINE# 'lol' : 'lol' , #NEWLINE# 'bar' : 'bar' , #NEWLINE# #UNINDENT# } ) #NEWLINE# B = TestDriver ( 'B' , folders = { #NEWLINE# #INDENT# 'foo' : 'Foo' , #NEWLINE# 'lol' : 'Lol' , #NEWLINE# #UNINDENT# } ) #NEWLINE# C = TestDriver ( 'C' , folders = { #NEWLINE# #INDENT# 'foo' : 'foo' , #NEWLINE# 'bar' : 'bar' , #NEWLINE# #UNINDENT# } ) #NEWLINE# setup . add ( A ) #NEWLINE# setup . add ( B ) #NEWLINE# setup . add ( C ) #NEWLINE# try : #NEWLINE# #INDENT# launcher ( ) #NEWLINE# launcher . copy_file ( 'foo' , 'test1' , 10 , A , B , C ) #NEWLINE# launcher . copy_file ( 'bar' , 'test2' , 10 , C , A ) #NEWLINE# launcher . copy_file ( 'lol' , 'test3' , 10 , B , A ) #NEWLINE# launcher . move_file ( 'foo' , 'test1' , 'moved1' , B , A , C ) #NEWLINE# launcher . move_file ( 'bar' , 'test2' , 'moved2' , A , C ) #NEWLINE# launcher . move_file ( 'lol' , 'test3' , 'moved3' , A , B ) #NEWLINE# launcher . delete_file ( 'foo' , 'moved1' , A , B , C ) #NEWLINE# launcher . delete_file ( 'bar' , 'moved2' , A , B ) #NEWLINE# launcher . delete_file ( 'lol' , 'moved3' , B , A ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# launcher . close ( )