~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-03 02:37:39 UTC
  • mfrom: (2949.5.2 symlink.feature)
  • Revision ID: pqm@pqm.ubuntu.com-20071103023739-e0wzok4qpvzq66sa
selftest: use SymlinkFeature instead of TestSkipped where appropriate

Show diffs side-by-side

added added

removed removed

Lines of Context:
2663
2663
SymlinkFeature = _SymlinkFeature()
2664
2664
 
2665
2665
 
 
2666
class _OsFifoFeature(Feature):
 
2667
 
 
2668
    def _probe(self):
 
2669
        return getattr(os, 'mkfifo', None)
 
2670
 
 
2671
    def feature_name(self):
 
2672
        return 'filesystem fifos'
 
2673
 
 
2674
OsFifoFeature = _OsFifoFeature()
 
2675
 
 
2676
 
2666
2677
class TestScenarioApplier(object):
2667
2678
    """A tool to apply scenarios to tests."""
2668
2679