~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_tree/test_test_trees.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:
18
18
 
19
19
from bzrlib import tests
20
20
from bzrlib.tests import per_tree
 
21
from bzrlib.tests import (
 
22
    features,
 
23
    )
21
24
 
22
25
 
23
26
class TestTreeShapes(per_tree.TestCaseWithTree):
147
150
        # currently this test tree requires unicode. It might be good
148
151
        # to have it simply stop having the single unicode file in it
149
152
        # when dealing with a non-unicode filesystem.
150
 
        self.requireFeature(tests.SymlinkFeature)
 
153
        self.requireFeature(features.SymlinkFeature)
151
154
        tree = self.get_tree_with_subdirs_and_all_content_types()
152
155
        tree.lock_read()
153
156
        self.addCleanup(tree.unlock)