~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_inv.py

  • Committer: Aaron Bentley
  • Date: 2007-12-31 16:10:05 UTC
  • mto: This revision was merged to the branch mainline in revision 3241.
  • Revision ID: aaron.bentley@utoronto.ca-20071231161005-3l7s9521wm9zbjxg
Get apply_inventory_delta kinda working, but not children

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        wt.apply_inventory_delta([('foo', 'baz', 'foo-id',
79
79
            inventory.InventoryDirectory('foo-id', 'baz', root_id))])
80
80
        # foo/bar should have been followed the rename of its parent to baz/bar
 
81
        self.assertEqual('baz', wt.id2path('foo-id'))
81
82
        self.assertEqual('baz/bar', wt.id2path('bar-id'))
82
83
 
83
84
    def test_rename_dir_with_children_with_children(self):