~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2009-05-28 07:56:59 UTC
  • mfrom: (4384 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4386.
  • Revision ID: aaron@aaronbentley.com-20090528075659-bb835aj2sr711emf
Merge bzr.dev into commit-preview.

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