Lines Matching full:tarball
389 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
391 # check if the compressed tarball was created
392 self.assertEqual(tarball, base_name + '.tar.gz')
393 self.assertTrue(os.path.isfile(tarball))
394 self.assertTrue(tarfile.is_tarfile(tarball))
395 with tarfile.open(tarball, 'r:gz') as tf:
402 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
403 self.assertEqual(tarball, base_name + '.tar')
404 self.assertTrue(os.path.isfile(tarball))
405 self.assertTrue(tarfile.is_tarfile(tarball))
406 with tarfile.open(tarball, 'r') as tf:
438 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
440 # check if the compressed tarball was created
441 self.assertEqual(tarball, base_name + '.tar.gz')
442 self.assertTrue(os.path.isfile(tarball))
444 # now create another tarball using `tar`
451 self.assertEqual(self._tarinfo(tarball), self._tarinfo(tarball2))
454 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
455 self.assertEqual(tarball, base_name + '.tar')
456 self.assertTrue(os.path.isfile(tarball))
459 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
461 self.assertEqual(tarball, base_name + '.tar')
462 self.assertTrue(os.path.isfile(tarball))
594 # check if the compressed tarball was created