~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_request.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-20 22:42:34 UTC
  • mfrom: (6083.1.2 more-get-transport-from)
  • Revision ID: pqm@pqm.ubuntu.com-20110820224234-l0c0cmesdnfp2srq
(jelmer) Use get_transport_from_path and get_transport_from_url in more
 places. (Jelmer Vernooij)

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.