~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-01-21 02:43:10 UTC
  • mfrom: (4976.1.3 ghost-diffs)
  • Revision ID: pqm@pqm.ubuntu.com-20100121024310-y0jq14xdry72ktxl
(Jelmer) Deal with ghosts in 'bzr diff'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
            socket.error(13, 'Permission denied'))
709
709
        self.assertContainsRe(str(e),
710
710
            r'Cannot bind address "example\.com:22":.*Permission denied')
 
711
 
 
712
    def test_file_timestamp_unavailable(self):            
 
713
        e = errors.FileTimestampUnavailable("/path/foo")
 
714
        self.assertEquals("The filestamp for /path/foo is not available.",
 
715
            str(e))