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