/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/test_memorytree.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-29 13:16:26 UTC
  • mto: This revision was merged to the branch mainline in revision 7376.
  • Revision ID: jelmer@jelmer.uk-20190629131626-qioafloyemhdbm4w
Remove Tree.get_root_id() in favour of Tree.path2id('').

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        tree = MemoryTree.create_on_branch(branch)
57
57
        with tree.lock_write():
58
58
            tree.add([''])
59
 
            self.assertIsNot(None, tree.get_root_id())
 
59
            self.assertIsNot(None, tree.path2id(''))
60
60
 
61
61
    def test_lock_tree_write(self):
62
62
        """Check we can lock_tree_write and unlock MemoryTrees."""