Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/c/o/collective.migrator-1.8/collective/migrator/tests/testUtils2.py   collective.migrator(Download)
        file_name = 'test1.tmp'
        os.system('touch /tmp/test1.tmp')
        utils.copy_file(source, source_dir, file_name, target, target_dir, keep=True)
 
        # check file
        target_dir = '/tmp/test123'
        file_name = 'test1.tmp'
        utils.copy_file(source, source_dir, file_name, target, target_dir, keep=False)
 
        # check file

src/c/o/collective.migrator-1.8/collective/migrator/tests/testUtils.py   collective.migrator(Download)
        file_name = 'test1.tmp'
        os.system('touch /tmp/test1.tmp')
        utils.copy_file(source, source_dir, file_name, target, target_dir, keep=True)
 
        # check file
        target_dir = '/tmp/test123'
        file_name = 'test1.tmp'
        utils.copy_file(source, source_dir, file_name, target, target_dir, keep=False)
 
        # check file