/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/test_bad_files.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:
25
25
    errors,
26
26
    )
27
27
from bzrlib.status import show_tree_status
28
 
from bzrlib.tests import TestCaseWithTransport
 
28
from bzrlib.tests import TestCaseWithTransport, TestSkipped
29
29
 
30
30
 
31
31
def verify_status(tester, tree, value):
41
41
    def test_bad_files(self):
42
42
        """Test that bzr will ignore files it doesn't like"""
43
43
        if getattr(os, 'mkfifo', None) is None:
44
 
            # TODO: Ultimately this should be TestSkipped
45
 
            # or PlatformDeficiency
46
 
            return
 
44
            raise TestSkipped('OS does not support mkfifo')
47
45
 
48
46
        wt = self.make_branch_and_tree('.')
49
47
        b = wt.branch