/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/test_errors.py

  • Committer: Andrew Bennetts
  • Date: 2008-09-06 09:52:18 UTC
  • mto: This revision was merged to the branch mainline in revision 3695.
  • Revision ID: andrew.bennetts@canonical.com-20080906095218-9k920hp0t6h9bif0
Rename UntranslateableErrorFromSmartServer -> UnknownErrorFromSmartServer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
557
557
    def test_untranslateable_error_from_smart_server(self):
558
558
        error_tuple = ('error', 'tuple')
559
559
        orig_err = errors.ErrorFromSmartServer(error_tuple)
560
 
        err = errors.UntranslateableErrorFromSmartServer(orig_err)
 
560
        err = errors.UnknownErrorFromSmartServer(orig_err)
561
561
        self.assertEquals(
562
562
            "Server sent an unexpected error: ('error', 'tuple')", str(err))
563
563