~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_tree/test_inv.py

  • Committer: Martin Pool
  • Date: 2011-06-14 01:26:41 UTC
  • mto: (6034.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 6043.
  • Revision ID: mbp@canonical.com-20110614012641-dnb69zb57ae5je4w
Move all test features into bzrlib.tests.features

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
from bzrlib.tree import InventoryTree
29
29
from bzrlib.transform import _PreviewTree
30
30
from bzrlib.uncommit import uncommit
 
31
from bzrlib.tests import (
 
32
    features,
 
33
    )
31
34
 
32
35
 
33
36
def get_entry(tree, file_id):
36
39
 
37
40
class TestInventoryWithSymlinks(per_tree.TestCaseWithTree):
38
41
 
39
 
    _test_needs_features = [tests.SymlinkFeature]
 
42
    _test_needs_features = [features.SymlinkFeature]
40
43
 
41
44
    def setUp(self):
42
45
        per_tree.TestCaseWithTree.setUp(self)
153
156
        # some of the trees we want to use can only exist on a disk, not in
154
157
        # memory - therefore we can only test this if the filesystem is
155
158
        # case-sensitive.
156
 
        self.requireFeature(tests.case_sensitive_filesystem_feature)
 
159
        self.requireFeature(features.case_sensitive_filesystem_feature)
157
160
        work_tree = self.make_branch_and_tree('.')
158
161
        self.build_tree(['test/', 'test/file', 'Test'])
159
162
        work_tree.add(['test/', 'test/file', 'Test'])