/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« 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-14 04:53:15 UTC
  • mfrom: (1910.7.21 cosmetic)
  • Revision ID: pqm@pqm.ubuntu.com-20060914045315-d646c86b3f4722f2
(Andrew Bennetts, Robert Collins, Martin Pool) Various cosmetic improvements to docstrings and comments throughout bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
751
751
        t.mkdir('adir/asubdir')
752
752
        t.mkdir('bdir')
753
753
        t.mkdir('bdir/bsubdir')
 
754
        # any kind of PathError would be OK, though we normally expect
 
755
        # DirectoryNotEmpty
754
756
        self.assertRaises(PathError, t.rename, 'bdir', 'adir')
755
757
        # nothing was changed so it should still be as before
756
758
        self.assertTrue(t.has('bdir/bsubdir'))
841
843
        # TODO: test copy_multi
842
844
 
843
845
    def test_connection_error(self):
844
 
        """ConnectionError is raised when connection is impossible"""
 
846
        """ConnectionError is raised when connection is impossible.
 
847
        
 
848
        The error may be raised from either the constructor or the first
 
849
        operation on the transport.
 
850
        """
845
851
        try:
846
852
            url = self._server.get_bogus_url()
847
853
        except NotImplementedError: