~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Robert Collins
  • Date: 2007-03-27 04:32:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2401.
  • Revision ID: robertc@robertcollins.net-20070327043224-9ql8frcekqjbb64g
Fix all smart_transport tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
771
771
    def test_get_error_unexpected(self):
772
772
        """Error reported by server with no specific representation"""
773
773
        class FlakyTransport(object):
 
774
            base = 'a_url'
774
775
            def get_bytes(self, path):
775
776
                raise Exception("some random exception from inside server")
776
777
        server = smart.SmartTCPServer(backing_transport=FlakyTransport())