Dulwich.io dulwich / 9b12d18
Add test for checking of 40-length object ids with non-hex characters. Jelmer Vernooń≥ a month ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
206206 def test_contains_object(self):
207207 r = self.open_repo('a.git')
208208 self.assertTrue(r.head() in r)
209 self.assertFalse(b"z" * 40 in r)
209210
210211 def test_contains_ref(self):
211212 r = self.open_repo('a.git')