~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-04-09 19:25:42 UTC
  • mto: (5777.5.1 inventoryworkingtree)
  • mto: This revision was merged to the branch mainline in revision 5781.
  • Revision ID: jelmer@samba.org-20110409192542-8bbedp36s7nj928e
Split InventoryTree out of Tree.

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_from_url('http://host/'))
 
243
                          transport.get_transport('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.