/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: John Arbash Meinel
  • Date: 2006-09-27 19:20:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2047.
  • Revision ID: john@arbash-meinel.com-20060927192035-617471739aca0247
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))