~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_symlinks.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:
25
25
    workingtree,
26
26
    )
27
27
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
 
28
from bzrlib.tests import (
 
29
    features,
 
30
    )
28
31
 
29
32
 
30
33
class TestSmartAddTree(TestCaseWithWorkingTree):
31
34
 
32
35
    # See eg <https://bugs.launchpad.net/bzr/+bug/192859>
33
36
 
34
 
    _test_needs_features = [tests.SymlinkFeature]
 
37
    _test_needs_features = [features.SymlinkFeature]
35
38
 
36
39
    def test_smart_add_symlink(self):
37
40
        tree = self.make_branch_and_tree('tree')
77
80
 
78
81
class TestKindChanges(TestCaseWithWorkingTree):
79
82
 
80
 
    _test_needs_features = [tests.SymlinkFeature]
 
83
    _test_needs_features = [features.SymlinkFeature]
81
84
 
82
85
    def test_symlink_changes_to_dir(self):
83
86
        # <https://bugs.launchpad.net/bzr/+bug/192859>:
127
130
 
128
131
class TestOpenTree(TestCaseWithWorkingTree):
129
132
 
130
 
    _test_needs_features = [tests.SymlinkFeature]
 
133
    _test_needs_features = [features.SymlinkFeature]
131
134
 
132
135
    def test_open_containing_through_symlink(self):
133
136
        self.make_test_tree()