• Home
  • Raw
  • Download

Lines Matching full:join

148         files = (os.path.join(self.tmpdir.name, 'file1'),
149 os.path.join(self.tmpdir.name, 'file2'))
157 host.list_files_glob(os.path.join(self.tmpdir.name, '*')))
161 host.list_files_glob(os.path.join(self.tmpdir.name, '*')))
168 fname = os.path.join(self.tmpdir.name, 'file')
169 sname = os.path.join(self.tmpdir.name, 'sym')
187 fname = os.path.join(self.tmpdir.name, 'file')
188 sname = os.path.join(self.tmpdir.name, 'sym')
205 source_file = os.path.join(self.tmpdir.name, 'file')
206 open(os.path.join(source_file), 'w').close()
208 dest_file = os.path.join(self.tmpdir.name, 'dest')
218 source_dir = os.path.join(self.tmpdir.name, 'dir')
220 open(os.path.join(source_dir, 'file'), 'w').close()
222 dest_dir = os.path.join(self.tmpdir.name, 'dest')
226 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
233 source_dir = os.path.join(self.tmpdir.name, 'dir')
235 open(os.path.join(source_dir, 'file'), 'w').close()
237 dest_dir = os.path.join(self.tmpdir.name, 'dest')
242 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
249 source_dir = os.path.join(self.tmpdir.name, 'dir')
251 open(os.path.join(source_dir, 'file'), 'w').close()
253 dest_dir = os.path.join(self.tmpdir.name, 'dest')
255 os.mkdir(os.path.join(dest_dir, 'dir'))
256 open(os.path.join(dest_dir, 'dir', 'file2'), 'w').close()
260 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
261 self.assertFalse(os.path.isfile(os.path.join(dest_dir, 'dir', 'file2')))
268 source_dir = os.path.join(self.tmpdir.name, 'dir')
270 open(os.path.join(source_dir, 'file'), 'w').close()
272 dest_dir = os.path.join(self.tmpdir.name, 'dest')
275 host.get_file(os.path.join(source_dir, ''), dest_dir)
277 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
284 source_dir = os.path.join(self.tmpdir.name, 'dir')
286 open(os.path.join(source_dir, 'file'), 'w').close()
288 dest_dir = os.path.join(self.tmpdir.name, 'dest')
292 host.get_file(os.path.join(source_dir, ''), dest_dir)
294 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
301 source_dir = os.path.join(self.tmpdir.name, 'dir')
303 open(os.path.join(source_dir, 'file'), 'w').close()
305 dest_dir = os.path.join(self.tmpdir.name, 'dest')
307 open(os.path.join(dest_dir, 'file2'), 'w').close()
310 host.get_file(os.path.join(source_dir, ''), dest_dir, delete_dest=True)
312 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
313 self.assertFalse(os.path.isfile(os.path.join(dest_dir, 'file2')))