~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_treeshape.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:
19
19
 
20
20
 
21
21
from bzrlib import tests
 
22
from bzrlib.tests import (
 
23
    features,
 
24
    )
22
25
 
23
26
 
24
27
class TestTreeShape(tests.TestCaseWithTransport):
35
38
        self.assertFileEqual('hello', '.bzr/README')
36
39
 
37
40
    def test_build_tree_symlink(self):
38
 
        self.requireFeature(tests.SymlinkFeature)
 
41
        self.requireFeature(features.SymlinkFeature)
39
42
        self.build_tree_contents([('link@', 'target')])
40
43
        self.assertEqual('target',
41
44
            os.readlink('link'))