/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_tree.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:
113
113
    def test_get_root_id(self):
114
114
        # trees should return some kind of root id; it can be none
115
115
        tree = self.make_branch_and_tree('tree')
116
 
        root_id = tree.get_root_id()
 
116
        root_id = tree.path2id('')
117
117
        if root_id is not None:
118
118
            self.assertIsInstance(root_id, bytes)
119
119