#NEWLINE# def test_copy_file( self ) : #NEWLINE# #INDENT# src_dir = self . mkdtemp ( ) #NEWLINE# foo = os . path . join ( src_dir , 'foo' ) #NEWLINE# write_file ( foo , 'content' ) #NEWLINE# dst_dir = self . mkdtemp ( ) #NEWLINE# copy_file ( foo , self ) #NEWLINE# self . assertTrue ( os . path . exists ( os . path . join ( dst_dir , 'foo' ) ) )