~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-27 19:48:46 UTC
  • mfrom: (2045.1.3 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060927194846-b26e0ca2dd3f8519
Lukáš Lalinský: TransportNotPossible has a bad docstring

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        self.assertStartsWith(
86
86
            str(e), 'Unprintable exception ErrorWithBadFormat(')
87
87
 
 
88
 
 
89
class TestSpecificErrors(TestCase):
 
90
    
 
91
    def test_transport_not_possible(self):
 
92
        e = errors.TransportNotPossible('readonly', 'original error')
 
93
        self.assertEqual('Transport operation not possible:'
 
94
                         ' readonly original error', str(e))