/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_workingtree/test_paths2ids.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-03 13:09:31 UTC
  • mfrom: (6846.2.1 foreign-more)
  • Revision ID: jelmer@jelmer.uk-20180203130931-y7pnktjedkwrm2ht
Merge lp:~jelmer/brz/foreign-more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
"""
23
23
 
24
24
from breezy import errors
25
 
from breezy.tests import features
 
25
from breezy.tests import (
 
26
    features,
 
27
    TestNotApplicable,
 
28
    )
26
29
from breezy.tests.per_workingtree import TestCaseWithWorkingTree
27
30
 
28
31
 
79
82
 
80
83
    def test_find_tree_basis_roots(self):
81
84
        tree = self.make_branch_and_tree('tree')
 
85
        if not tree.supports_setting_file_ids():
 
86
            raise TestNotApplicable('tree does not support setting file ids')
 
87
 
82
88
        tree.commit('basis')
83
89
        basis = tree.basis_tree()
84
90
        basis_root_id = basis.path2id('')