200
200
allow_versioned_root=False)
201
201
err = self.assertRaises(inventory_delta.IncompatibleInventoryDelta,
202
202
deserializer.parse_text_bytes, root_only_lines)
205
205
def test_parse_tree_when_disabled(self):
206
206
deserializer = inventory_delta.InventoryDeltaDeserializer(
207
207
allow_tree_references=False)
208
208
err = self.assertRaises(inventory_delta.IncompatibleInventoryDelta,
209
209
deserializer.parse_text_bytes, reference_lines)
212
212
def test_parse_tree_when_header_disallows(self):
213
213
# A deserializer that allows tree_references to be set or unset.