/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: Jelmer Vernooij
  • Date: 2011-08-19 22:34:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6089.
  • Revision ID: jelmer@samba.org-20110819223402-wjywqb0fa1xxx522
Use get_transport_from_{url,path} in more places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
    def test_bzr_serve_port_readonly(self):
225
225
        """bzr server should provide a read only filesystem by default."""
226
226
        process, url = self.start_server_port()
227
 
        t = transport.get_transport(url)
 
227
        t = transport.get_transport_from_url(url)
228
228
        self.assertRaises(errors.TransportNotPossible, t.mkdir, 'adir')
229
229
        self.assertServerFinishesCleanly(process)
230
230