Lines Matching refs:path

7 from os.path import splitdrive
53 if os.path.supports_unicode_filenames:
111 base_name = os.path.join(tmpdir2, target_name)
119 self.assertTrue(os.path.exists(tarball))
122 def _tarinfo(self, path):
123 tar = tarfile.open(path)
138 dist = os.path.join(tmpdir, 'dist')
142 os.mkdir(os.path.join(dist, 'sub'))
144 os.mkdir(os.path.join(dist, 'sub2'))
153 base_name = os.path.join(tmpdir2, 'archive')
163 self.assertTrue(os.path.exists(tarball))
166 tarball2 = os.path.join(tmpdir, 'archive2.tar.gz')
177 self.assertTrue(os.path.exists(tarball2))
183 base_name = os.path.join(tmpdir2, 'archive')
191 self.assertTrue(os.path.exists(tarball))
194 base_name = os.path.join(tmpdir2, 'archive')
202 self.assertTrue(os.path.exists(tarball))
208 base_name = os.path.join(self.mkdtemp(), 'archive')
220 self.assertTrue(os.path.exists(tarball))
234 self.assertFalse(os.path.exists(tarball))
242 base_name = os.path.join(self.mkdtemp(), 'archive')
248 self.assertTrue(os.path.exists(tarball))
267 base_name = os.path.join(self.mkdtemp(), 'archive')
274 self.assertTrue(os.path.exists(tarball))
286 base_name = os.path.join(tmpdir, 'archive')
305 base_name = os.path.join(self.mkdtemp() , 'archive')
307 self.assertTrue(os.path.exists(res))
308 self.assertEqual(os.path.basename(res), 'archive.tar')
314 base_name = os.path.join(self.mkdtemp() , 'archive')
316 self.assertTrue(os.path.exists(res))
317 self.assertEqual(os.path.basename(res), 'archive.tar.gz')
323 base_name = os.path.join(self.mkdtemp() , 'archive')
325 self.assertTrue(os.path.exists(res))
326 self.assertEqual(os.path.basename(res), 'archive.tar.bz2')
332 base_name = os.path.join(self.mkdtemp() , 'archive')
334 self.assertTrue(os.path.exists(res))
335 self.assertEqual(os.path.basename(res), 'archive.tar.xz')
349 base_name = os.path.join(self.mkdtemp() , 'archive')
352 self.assertTrue(os.path.exists(res))
355 self.assertTrue(os.path.exists(res))
359 self.assertTrue(os.path.exists(res))
363 self.assertTrue(os.path.exists(res))
369 base_name = os.path.join(self.mkdtemp(), 'archive')
381 self.assertTrue(os.path.exists(archive_name))