~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-22 18:09:04 UTC
  • mfrom: (2485.8.63 bzr.connection.sharing)
  • Revision ID: pqm@pqm.ubuntu.com-20070722180904-wy7y7oyi32wbghgf
Transport connection sharing

Show diffs side-by-side

added added

removed removed

Lines of Context:
953
953
        # we create a real connection not a loopback one, but it will use the
954
954
        # same server and pipes
955
955
        conn2 = self.transport.clone('.')
956
 
        self.assertIs(self.transport._medium, conn2._medium)
 
956
        self.assertIs(self.transport.get_smart_medium(),
 
957
                      conn2.get_smart_medium())
957
958
 
958
959
    def test__remote_path(self):
959
960
        self.assertEquals('/foo/bar',