#NEWLINE# def setup_directory( self ) : #NEWLINE# #INDENT# self . name1 = 'dir1' #NEWLINE# self . name2 = 'dir2' #NEWLINE# self . path1 = self . workspace . join ( self . name1 ) #NEWLINE# self . path2 = self . workspace . join ( self . name2 ) #NEWLINE# os . makedirs ( self . path1 ) #NEWLINE# self . src_file_path1 = self . workspace . join ( self . name1 , 'file1' ) #NEWLINE# self . src_file_path2 = self . workspace . join ( self . name1 , 'file2' ) #NEWLINE# self . dst_file_path1 = self . workspace . join ( self . name2 , 'file1' ) #NEWLINE# self . dst_file_path2 = self . workspace . join ( self . name2 , 'file2' ) #NEWLINE# self . content1 = 'Hello World 1' #NEWLINE# self . content2 = 'Hello World 2' #NEWLINE# with open ( self . src_file_path1 , 'w' ) as f : #NEWLINE# #INDENT# f . write ( self . content1 ) #NEWLINE# #UNINDENT# with open ( self . src_file_path2 , 'w' ) as f : #NEWLINE# #INDENT# f . write ( self . content2 )