~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interrepository/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 14:15:25 UTC
  • mto: (6471.1.4 iter-child-entries)
  • mto: This revision was merged to the branch mainline in revision 6472.
  • Revision ID: jelmer@samba.org-20120220141525-9azkfei62st8yc7w
Use inventories directly in fewer places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
383
383
        (stacked_left_tree,
384
384
         stacked_right_tree) = new_stacked_branch.repository.revision_trees(
385
385
            ['left', 'right'])
386
 
        self.assertEqual(left_tree.root_inventory,
387
 
                stacked_left_tree.root_inventory)
388
 
        self.assertEqual(right_tree.root_inventory,
389
 
                stacked_right_tree.root_inventory)
 
386
        self.assertEqual(left_tree, stacked_left_tree)
 
387
        self.assertEqual(right_tree, stacked_right_tree)
390
388
        # Finally, it's not enough to see that the basis inventories are
391
389
        # present.  The texts introduced in merge (and only those) should be
392
390
        # present, and also generating a stream should succeed without blowing