~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-22 18:18:20 UTC
  • mfrom: (4913.2.26 2.1.0rc1-module-available)
  • Revision ID: pqm@pqm.ubuntu.com-20091222181820-qfolh2sy2nevoxxj
(jam) Switch many test features over to ModuleAvailable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                           ReadError,
37
37
                           UnsupportedProtocol,
38
38
                           )
39
 
from bzrlib.tests import ParamikoFeature, TestCase, TestCaseInTempDir
 
39
from bzrlib.tests import features, TestCase, TestCaseInTempDir
40
40
from bzrlib.transport import (_clear_protocol_handlers,
41
41
                              _CoalescedOffset,
42
42
                              ConnectedTransport,
895
895
        # A reasonable evolution for this would be to simply check inside
896
896
        # check_channel_exec_request that the command is appropriate, and then
897
897
        # satisfy requests in-process.
898
 
        self.requireFeature(ParamikoFeature)
 
898
        self.requireFeature(features.paramiko)
899
899
        # SFTPFullAbsoluteServer has a get_url method, and doesn't
900
900
        # override the interface (doesn't change self._vendor).
901
901
        # Note that this does encryption, so can be slow.