Exemplo n.º 1
0
 def test_pack_info(self):
     dumps = swift.pack_info_create(self.pack_data, self.pack_index)
     pack_infos = swift.load_pack_info('', file=BytesIO(dumps))
     for obj in self.commits:
         self.assertIn(obj.id, pack_infos)
Exemplo n.º 2
0
 def test_pack_info(self):
     dumps = swift.pack_info_create(self.pack_data, self.pack_index)
     pack_infos = swift.load_pack_info('', file=BytesIO(dumps))
     for obj in self.commits:
         self.assertIn(obj.id, pack_infos)