/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_tree/test_annotate_iter.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 13:09:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6819.
  • Revision ID: jelmer@jelmer.uk-20171112130958-6e3rstt48asiedzn
Swap arguments for annotate_iter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        tree.lock_read()
46
46
        self.addCleanup(tree.unlock)
47
47
        self.assertEqual([(revids[1], 'second\n'), (revids[0], 'content\n')],
48
 
                         list(tree.annotate_iter(tree.path2id('one'))))
 
48
                         list(tree.annotate_iter('one')))
49
49
 
50
50
    def test_annotate_with_ghost(self):
51
51
        tree, revids = self.get_tree_with_ghost()
52
52
        tree.lock_read()
53
53
        self.addCleanup(tree.unlock)
54
54
        self.assertEqual([(revids[1], 'second\n'), (revids[0], 'content\n')],
55
 
                         list(tree.annotate_iter(tree.path2id('one'))))
 
55
                         list(tree.annotate_iter('one')))