~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-03-12 20:37:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: john@arbash-meinel.com-20070312203744-uxmg8gk0tl9w5dy6
NEWS for fixing bug #88842

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
34
33
from bzrlib.tests import TestCaseWithTransport, TestSkipped
35
 
from bzrlib.transport import get_transport, remote
 
34
from bzrlib.transport import get_transport, smart
36
35
 
37
36
 
38
37
class TestBzrServe(TestCaseWithTransport):
69
68
        # Connect to the server
70
69
        # We use this url because while this is no valid URL to connect to this
71
70
        # server instance, the transport needs a URL.
72
 
        client_medium = medium.SmartSimplePipesClientMedium(
 
71
        medium = smart.SmartSimplePipesClientMedium(
73
72
            process.stdout, process.stdin)
74
 
        transport = remote.RemoteTransport(
75
 
            'bzr://localhost/', medium=client_medium)
 
73
        transport = smart.SmartTransport('bzr://localhost/', medium=medium)
76
74
        return process, transport
77
75
 
78
76
    def start_server_port(self, extra_options=()):