285
285
new_trans_id = transform.new_directory('', ROOT_PARENT, 'alt-root-id')
286
286
self.assertRaises(ValueError, transform.fixup_new_roots)
288
302
def test_add_unversioned_root(self):
289
303
transform, root = self.get_transform()
290
304
new_trans_id = transform.new_directory('', ROOT_PARENT, None)
291
306
transform.fixup_new_roots()
292
307
self.assertNotIn(transform.root, transform._new_id)