~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-15 17:14:38 UTC
  • mfrom: (1993.2.4 test-setup-skip)
  • Revision ID: pqm@pqm.ubuntu.com-20060915171438-a30aecb7d5eb20be
(jam,moy) skip tests when dependencies aren't available

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
 
406
406
    def setUp(self):
407
407
        TestCase.setUp(self)
 
408
        if not paramiko_loaded:
 
409
            raise TestSkipped('you must have paramiko to run this test')
408
410
 
409
411
    def test_delay(self):
410
412
        from bzrlib.transport.sftp import SocketDelay