~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_serve.py

  • Committer: Martin Pool
  • Date: 2008-06-11 02:36:40 UTC
  • mfrom: (3490 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3492.
  • Revision ID: mbp@sourcefrog.net-20080611023640-db0lqd75yueksdw7
Merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        # Connect to the server
81
81
        # We use this url because while this is no valid URL to connect to this
82
82
        # server instance, the transport needs a URL.
 
83
        url = 'bzr://localhost/'
83
84
        client_medium = medium.SmartSimplePipesClientMedium(
84
 
            process.stdout, process.stdin)
85
 
        transport = remote.RemoteTransport(
86
 
            'bzr://localhost/', medium=client_medium)
 
85
            process.stdout, process.stdin, url)
 
86
        transport = remote.RemoteTransport(url, medium=client_medium)
87
87
        return process, transport
88
88
 
89
89
    def start_server_port(self, extra_options=()):