~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Aaron Bentley
  • Date: 2006-09-28 01:53:23 UTC
  • mfrom: (2049 +trunk)
  • mto: (1731.2.8 nested-trees)
  • mto: This revision was merged to the branch mainline in revision 2078.
  • Revision ID: aaron.bentley@utoronto.ca-20060928015323-4e7367532c857e87
Merge from bzr.dev

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))