~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-22 14:53:12 UTC
  • mfrom: (1707.3.30 ftp-server)
  • Revision ID: pqm@pqm.ubuntu.com-20060522145312-94c3c934d7cbd9ff
(jam) use medusa as an ftp-server provider, fix FtpTransport

Show diffs side-by-side

added added

removed removed

Lines of Context:
704
704
        except (ConnectionError, NoSuchFile), e:
705
705
            pass
706
706
        except (Exception), e:
707
 
            self.failIf(True, 'Wrong exception thrown: %s' % e)
 
707
            self.fail('Wrong exception thrown (%s): %s' 
 
708
                        % (e.__class__.__name__, e))
708
709
        else:
709
 
            self.failIf(True, 'Did not get the expected exception.')
 
710
            self.fail('Did not get the expected ConnectionError or NoSuchFile.')
710
711
 
711
712
    def test_stat(self):
712
713
        # TODO: Test stat, just try once, and if it throws, stop testing