Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master-1, master-0, and 0.9.4

Fix tests: object_index() raises an exception now.

Changeset daf8a449df27

Parent 7e7474bd737e

by Jelmer Vernooij

Changes to one file · Browse files at daf8a449df27 Showing diff from parent 7e7474bd737e Diff from another changeset...

 
66
67
68
69
 
70
71
72
 
66
67
68
 
69
70
71
72
@@ -66,7 +66,7 @@
  def test_object_index(self):   """Tests that the correct object offset is returned from the index."""   p = self.get_pack_index(pack1_sha) - self.assertEqual(p.object_index(pack1_sha), None) + self.assertRaises(KeyError, p.object_index, pack1_sha)   self.assertEqual(p.object_index(a_sha), 178)   self.assertEqual(p.object_index(tree_sha), 138)   self.assertEqual(p.object_index(commit_sha), 12)