def test_harvest_without_tag(self):
     """Test harvesting of HEAD"""
     harvest_repo(self.path, self.archive_path)
     fs_list = tarfile.open(self.archive_path).getnames()
     self.assertTrue('test.txt' in fs_list)
     self.assertTrue('test2.txt' in fs_list)
     self.assertTrue('test3.txt' in fs_list)
 def test_harvest_with_tag_v0_3(self):
     """Test harvesting of tag v0.3"""
     harvest_repo(self.path, self.archive_path, tag='v0.3')
     fs_list = tarfile.open(self.archive_path).getnames()
     self.assertTrue('test.txt' in fs_list)
     self.assertTrue('test2.txt' in fs_list)
     self.assertTrue('test3.txt' in fs_list)