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