~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Martin Pool
  • Date: 2006-04-20 01:29:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1675.
  • Revision ID: mbp@sourcefrog.net-20060420012904-b3166df65e728801
Translate unknown sftp errors to PathError, no NoSuchFile

Show diffs side-by-side

added added

removed removed

Lines of Context:
781
781
        self.assertEqual([u'a', u'c', u'c2'], sorted_list('.'))
782
782
        self.assertEqual([u'e'], sorted_list(u'c'))
783
783
 
784
 
        self.assertListRaises(NoSuchFile, t.list_dir, 'q')
785
 
        self.assertListRaises(NoSuchFile, t.list_dir, 'c/f')
786
 
        self.assertListRaises(NoSuchFile, t.list_dir, 'a')
 
784
        self.assertListRaises(PathError, t.list_dir, 'q')
 
785
        self.assertListRaises(PathError, t.list_dir, 'c/f')
 
786
        self.assertListRaises(PathError, t.list_dir, 'a')
787
787
 
788
788
    def test_clone(self):
789
789
        # TODO: Test that clone moves up and down the filesystem