205
203
# A parent is not allowed
206
204
self.assertRaises(errors.JailBreak, _pre_open_hook, t.clone('..'))
207
205
# A completely unrelated transport is not allowed
211
209
def test_open_bzrdir_in_non_main_thread(self):
212
210
"""Opening a bzrdir in a non-main thread should work ok.