~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Vincent Ladeuil
  • Date: 2010-05-14 14:29:28 UTC
  • mto: (5234.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5235.
  • Revision ID: v.ladeuil+lp@free.fr-20100514142928-nlj2iw6oeszg9gpi
Fixed as per jam's review :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
713
713
        e = errors.FileTimestampUnavailable("/path/foo")
714
714
        self.assertEquals("The filestamp for /path/foo is not available.",
715
715
            str(e))
 
716
            
 
717
    def test_transform_rename_failed(self):
 
718
        e = errors.TransformRenameFailed(u"from", u"to", "readonly file", 2)
 
719
        self.assertEquals(
 
720
            u"Failed to rename from to to: readonly file",
 
721
            str(e))