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