~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_exceptions.py

  • Committer: Martin Pool
  • Date: 2006-06-04 21:45:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060604214502-a47830087e90a3e1
Improved tests for display of exceptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
class TestExceptionReporting(TestCase):
26
26
 
27
 
    def test_report_unhandled_exception(self):
 
27
    def test_report_exception(self):
28
28
        """When an error occurs, display bug report details to stderr"""
29
29
        out, err = self.run_bzr("assert-fail", retcode=3)
30
30
        self.assertContainsRe(err,