/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.py

  • Committer: Andrew Bennetts
  • Date: 2010-09-02 00:49:06 UTC
  • mto: This revision was merged to the branch mainline in revision 5408.
  • Revision ID: andrew.bennetts@canonical.com-20100902004906-yezw3oexov6qzsno
Use StringIO rather than real files on disk for log files in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
900
900
 
901
901
        bzr+ssh:// should cause bzr to run a remote bzr smart server over SSH.
902
902
        """
 
903
        raise tests.TestSkipped('this test was recently broken,'
 
904
                                ' see bug #626876')
903
905
        # This test actually causes a bzr instance to be invoked, which is very
904
906
        # expensive: it should be the only such test in the test suite.
905
907
        # A reasonable evolution for this would be to simply check inside
955
957
        ssh_server = stub_sftp.SFTPFullAbsoluteServer(StubSSHServer)
956
958
        # We *don't* want to override the default SSH vendor: the detected one
957
959
        # is the one to use.
 
960
 
 
961
        # FIXME: I don't understand the above comment, SFTPFullAbsoluteServer
 
962
        # inherits from SFTPServer which forces the SSH vendor to
 
963
        # ssh.ParamikoVendor(). So it's forced, not detected. --vila 20100623
958
964
        self.start_server(ssh_server)
959
 
        port = ssh_server._listener.port
 
965
        port = ssh_server.port
960
966
 
961
967
        if sys.platform == 'win32':
962
968
            bzr_remote_path = sys.executable + ' ' + self.get_bzr_path()