~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_treeshape.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 09:49:24 UTC
  • mfrom: (6015.9.10 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: v.ladeuil+lp@free.fr-20110812094924-knc5s0g7vs31a2f1
Merge 2.4 into trunk

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'))