~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_symlinks.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-25 03:36:18 UTC
  • mfrom: (6034.2.4 test-feature-cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20110725033618-n5g9qg6iwyz2dqzw
(mbp) move test feature dependencies into test.features (Martin Pool)

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>:
130
133
 
131
134
class TestOpenTree(TestCaseWithWorkingTree):
132
135
 
133
 
    _test_needs_features = [tests.SymlinkFeature]
 
136
    _test_needs_features = [features.SymlinkFeature]
134
137
 
135
138
    def test_open_containing_through_symlink(self):
136
139
        self.make_test_tree()