~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-01 17:29:56 UTC
  • mfrom: (1711.9.14 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060901172956-71246cfb9bf153f8
(vila) cleanup http changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
        t.mkdir('adir')
544
544
        t.mkdir('adir/bdir')
545
545
        t.rmdir('adir/bdir')
546
 
        self.assertRaises(PathError, t.rmdir, 'adir/bdir')
 
546
        # ftp may not be able to raise NoSuchFile for lack of
 
547
        # details when failing
 
548
        self.assertRaises((NoSuchFile, PathError), t.rmdir, 'adir/bdir')
547
549
        t.rmdir('adir')
548
 
        self.assertRaises(PathError, t.rmdir, 'adir')
 
550
        self.assertRaises((NoSuchFile, PathError), t.rmdir, 'adir')
549
551
 
550
552
    def test_rmdir_not_empty(self):
551
553
        """Deleting a non-empty directory raises an exception