~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Martin Pool
  • Date: 2006-05-23 10:57:02 UTC
  • mfrom: (1725 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mbp@sourcefrog.net-20060523105702-e5de4664cfdb4e8d
[merge] bzr.dev

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