337
337
self.assertRaises(errors.InconsistentDelta, self.apply_delta, self,
342
delta = [(None, u'path', 'id', None)]
343
self.assertRaises(errors.InconsistentDelta, self.apply_delta, self,
352
delta = [(u"path", None, 'id1', file1)]
353
self.assertRaises(errors.InconsistentDelta, self.apply_delta, self,
340
356
def test_parent_is_not_directory(self):
341
357
inv = self.get_empty_inventory()
342
358
file1 = inventory.InventoryFile('id1', 'path', inv.root.file_id)