Lines Matching full:path

15         return os.path.normpath(os.path.join(self.tempdir, *parts))
18 return [os.path.join(self.tempdir, *parts) for parts in tuples]
22 base, file = os.path.split(filename)
23 if not os.path.exists(base):
42 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3'))
57 pattern = os.path.join(*parts)
58 p = os.path.join(self.tempdir, pattern)
70 self.assertFalse(os.path.isabs(x), x)
75 self.assertCountEqual([os.path.join(self.tempdir, x) for x in res2],
118 res = glob.glob(os.path.join(os.curdir, '*'))
123 res = glob.glob(os.path.join(os.fsencode(os.curdir), b'*'))
146 if os.path.normcase("abCD") == "abCD":
311 join = os.path.join
337 base = os.path.join(self.tempdir, 'deep')
338 p = os.path.join(base, *(['d']*depth))
340 pattern = os.path.join(base, *(['*']*depth))
344 pattern = os.path.join(base, '**', 'd')
348 p = os.path.join(p, 'd')
362 create_empty_file(os.path.join('dir', 'file'))
363 os.symlink(os.curdir, os.path.join('dir', 'link'))
370 path = os.path.join(*(['dir'] + ['link'] * depth))
371 self.assertIn(path, results)
372 results.remove(path)
375 path = os.path.join(path, 'file')
376 self.assertIn(path, results)
377 results.remove(path)
380 results = glob.glob(os.path.join('**', 'file'), recursive=True)
385 path = os.path.join(*(['dir'] + ['link'] * depth + ['file']))
386 self.assertIn(path, results)
387 results.remove(path)
390 results = glob.glob(os.path.join('**', ''), recursive=True)
395 path = os.path.join(*(['dir'] + ['link'] * depth + ['']))
396 self.assertIn(path, results)
397 results.remove(path)