~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: 2010-05-14 11:05:32 UTC
  • mfrom: (5227.1.4 hpss-set-option-430382)
  • Revision ID: pqm@pqm.ubuntu.com-20100514110532-qngntbe48hh01wkj
(andrew) Fix RemoteBranchConfig.set_user_option when passed a dict
        value. (#430382)

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