/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-09-21 03:07:10 UTC
  • mto: This revision was merged to the branch mainline in revision 2845.
  • Revision ID: mbp@sourcefrog.net-20070921030710-koafxqdakilf56t8
Report locale, encodings and plugins in traceback

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        out, err = self.run_bzr("assert-fail", retcode=3)
32
32
        self.assertContainsRe(err,
33
33
                r'bzr: ERROR: exceptions\.AssertionError: always fails\n')
34
 
        self.assertContainsRe(err, r'please send this report to')
 
34
        self.assertContainsRe(err, r'Please send this report to')
 
35
        self.assertContainsRe(err,
 
36
            '(?m)^encoding: .*, fsenc: .*, lang: .*')
 
37
        self.assertContainsRe(err,
 
38
            '(?m)^plugins: \[.*\]')
35
39
 
36
40
    # TODO: assert-fail doesn't need to always be present; we could just
37
41
    # register (and unregister) it from tests that want to touch it.