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

  • Committer: Andrew Bennetts
  • Date: 2007-04-10 07:20:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2402.
  • Revision ID: andrew.bennetts@canonical.com-20070410072043-5vqutcw42bsml4tl
Fix blackbox/test_serve, there were some trivial changes that needed to be brought across from the hpss branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from bzrlib.branch import Branch
31
31
from bzrlib.bzrdir import BzrDir
32
32
from bzrlib.errors import ParamikoNotPresent
 
33
from bzrlib.smart import medium
33
34
from bzrlib.tests import TestCaseWithTransport, TestSkipped
34
35
from bzrlib.transport import get_transport, remote
35
36
 
68
69
        # Connect to the server
69
70
        # We use this url because while this is no valid URL to connect to this
70
71
        # server instance, the transport needs a URL.
71
 
        medium = remote.SmartSimplePipesClientMedium(
 
72
        client_medium = medium.SmartSimplePipesClientMedium(
72
73
            process.stdout, process.stdin)
73
 
        transport = remote.SmartTransport('bzr://localhost/', medium=medium)
 
74
        transport = remote.SmartTransport(
 
75
            'bzr://localhost/', medium=client_medium)
74
76
        return process, transport
75
77
 
76
78
    def start_server_port(self, extra_options=()):