/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_mv.py

  • Committer: Alexander Belchenko
  • Date: 2007-11-01 09:52:45 UTC
  • mto: This revision was merged to the branch mainline in revision 2957.
  • Revision ID: bialix@ukr.net-20071101095245-qmmtwknzalx2b33u
selftest: use SymlinkFeature instead of TestSkipped where appropriate

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    )
25
25
 
26
26
from bzrlib.tests import (
 
27
    SymlinkFeature,
27
28
    TestCaseWithTransport,
28
 
    TestSkipped,
29
29
    )
30
30
 
31
31
 
135
135
        self.run_bzr('rename b a')
136
136
 
137
137
    def test_mv_through_symlinks(self):
138
 
        if not osutils.has_symlinks():
139
 
            raise TestSkipped('Symlinks are not supported on this platform')
 
138
        self.requireFeature(SymlinkFeature)
140
139
        tree = self.make_branch_and_tree('.')
141
140
        self.build_tree(['a/', 'a/b'])
142
141
        os.symlink('a', 'c')