~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_request.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:
240
240
        self.assertRaises(errors.JailBreak, _pre_open_hook, t.clone('..'))
241
241
        # A completely unrelated transport is not allowed
242
242
        self.assertRaises(errors.JailBreak, _pre_open_hook,
243
 
                          transport.get_transport('http://host/'))
 
243
                          transport.get_transport_from_url('http://host/'))
244
244
 
245
245
    def test_open_bzrdir_in_non_main_thread(self):
246
246
        """Opening a bzrdir in a non-main thread should work ok.