/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: Martin Pool
  • Date: 2007-04-01 06:19:16 UTC
  • mfrom: (2323.5.20 0.15-integration)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070401061916-plpgsxdf8g7gll9o
Merge 0.15 final release back to trunk, including: recommend upgrades of old workingtrees, handle multiple http redirections, some dirstate fixes, 

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=()):