250
240
self.assertRaises(errors.JailBreak, _pre_open_hook, t.clone('..'))
251
241
# A completely unrelated transport is not allowed
252
242
self.assertRaises(errors.JailBreak, _pre_open_hook,
255
245
def test_open_bzrdir_in_non_main_thread(self):
256
246
"""Opening a bzrdir in a non-main thread should work ok.