~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert J. Tanner
  • Date: 2009-06-10 03:56:49 UTC
  • mfrom: (4423 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4425.
  • Revision ID: tanner@real-time.com-20090610035649-7rfx4cls4550zc3c
Merge 1.15.1 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
        self.make_read_requests(branch)
139
139
        self.assertServerFinishesCleanly(process)
140
140
 
 
141
    def test_bzr_serve_supports_protocol(self):
 
142
        # Make a branch
 
143
        self.make_branch('.')
 
144
 
 
145
        process, url = self.start_server_port(['--allow-writes',
 
146
                                               '--protocol=bzr'])
 
147
 
 
148
        # Connect to the server
 
149
        branch = Branch.open(url)
 
150
        self.make_read_requests(branch)
 
151
        self.assertServerFinishesCleanly(process)
 
152
 
141
153
    def test_bzr_connect_to_bzr_ssh(self):
142
154
        """User acceptance that get_transport of a bzr+ssh:// behaves correctly.
143
155